renaming messup with svn commit. so re-adding entitycomparison again.
This commit is contained in:
parent
686cd16133
commit
6c9ec68641
39 changed files with 13857 additions and 0 deletions
79
productMods/js/visualization/entitycomparison/constants.js
Normal file
79
productMods/js/visualization/entitycomparison/constants.js
Normal file
|
@ -0,0 +1,79 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
//Hard coded color constants
|
||||
var TURQUOISE = "#8DD3C7";
|
||||
var LIGHT_YELLOW = "#FFFFB3";
|
||||
var LIGHT_VIOLET = "#BEBADA";
|
||||
var LIGHT_RED = "#FB8072";
|
||||
var SKY_BLUE = "#80B1D3";
|
||||
var ORANGE = "#FDB462";
|
||||
var LIGHT_GREEN = "#B3DE69";
|
||||
var LIGHT_PINK = "#FCCDE5";
|
||||
var LIGHT_GREY = "#D9D9D9";
|
||||
var PURPLE = "#BC80BD";
|
||||
|
||||
var colorConstantQueue =
|
||||
[
|
||||
TURQUOISE, LIGHT_YELLOW, LIGHT_VIOLET, LIGHT_RED,
|
||||
SKY_BLUE, ORANGE, LIGHT_GREEN, LIGHT_PINK, LIGHT_GREY,
|
||||
PURPLE
|
||||
];
|
||||
|
||||
var freeColors = [
|
||||
TURQUOISE, LIGHT_YELLOW, LIGHT_VIOLET, LIGHT_RED,
|
||||
SKY_BLUE, ORANGE, LIGHT_GREEN, LIGHT_PINK, LIGHT_GREY,
|
||||
PURPLE
|
||||
];
|
||||
|
||||
var year = {
|
||||
min: 1998,
|
||||
max: 2018,
|
||||
globalMin: 1995,
|
||||
globalMax: 2025
|
||||
};
|
||||
|
||||
var colors = {};
|
||||
var prevColor = {};
|
||||
var colorToAssign, colorToRemove;
|
||||
var renderedObjects = [];
|
||||
var labelToEntityRecord = {};
|
||||
var setOfLabels = [];
|
||||
var labelToCheckedEntities = {};
|
||||
var stopWordsToCount = {};
|
||||
|
||||
var graphContainer;
|
||||
var tableDiv;
|
||||
var entityLevel;
|
||||
|
||||
//options for Flot
|
||||
var FlotOptions = {
|
||||
legend : {
|
||||
show : false
|
||||
},
|
||||
lines : {
|
||||
show : true
|
||||
},
|
||||
points : {
|
||||
show : false
|
||||
},
|
||||
xaxis : {
|
||||
tickDecimals : 0,
|
||||
tickSize : 10
|
||||
},
|
||||
series : {
|
||||
lines : {
|
||||
lineWidth : 7
|
||||
}
|
||||
},
|
||||
yaxis : {
|
||||
tickSize : 1,
|
||||
tickDecimals : 0,
|
||||
min : 0
|
||||
},
|
||||
grid : {
|
||||
borderColor : "#D9D9D9"
|
||||
}
|
||||
};
|
||||
|
||||
FlotOptions.colors = colorConstantQueue;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue