1. Changed wordings for CSV file downloads & Network Image files for co-author & co-investigator networks.

2. Changed Temporal Graph legend links to be save as other clickable links (blue-ish)
3. Changed wordings on temporal graph vis.
4. Changed default sorting to be first on counts (desc) & then entity names (asc)
5. Changed how the constants were intiated for temporal vis, this is preparation for other tasks.
6. Since now if no URI is provided to the tmeporal graph vis it defaults to the highest levbel org. Removed the AJAX call to a utilites servlet that calculated this beforehand.
This commit is contained in:
cdtank 2011-02-02 21:04:36 +00:00
parent 415c1b73f4
commit 49116a20b2
9 changed files with 88 additions and 64 deletions

View file

@ -30,58 +30,75 @@ var colorConstantQueue = [ LIGHT_BLUE, DARK_ORANGE, VIBRANT_GREEN,
DARK_TURQUOISE, MEHENDI_GREEN, HOT_PINK,
DARK_RED ];
var freeColors = colorConstantQueue.slice();
var freeColors;
var globalDateObject = new Date();
var globalDateObject;
var year = {
min: globalDateObject.getFullYear() - 9,
max: globalDateObject.getFullYear(),
globalMin: globalDateObject.getFullYear() - 9,
globalMax: globalDateObject.getFullYear()
};
var year;
var colors = {};
var prevColor = {};
var colorToAssign, colorToRemove;
var renderedObjects = [];
var labelToEntityRecord = {};
var setOfLabels = [];
var labelToCheckedEntities = {};
var stopWordsToCount = {};
var colors, prevColor, colorToAssign,
colorToRemove, renderedObjects, labelToEntityRecord,
setOfLabels, labelToCheckedEntities, 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"
}
};
var FlotOptions;
FlotOptions.colors = colorConstantQueue;
function initConstants() {
freeColors = colorConstantQueue.slice();
globalDateObject = new Date();
year = {
min: globalDateObject.getFullYear() - 9,
max: globalDateObject.getFullYear(),
globalMin: globalDateObject.getFullYear() - 9,
globalMax: globalDateObject.getFullYear()
};
colors = {};
prevColor = {};
colorToAssign, colorToRemove;
renderedObjects = [];
labelToEntityRecord = {};
setOfLabels = [];
labelToCheckedEntities = {};
stopWordsToCount = {};
//options for Flot
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;
}