1. Made changes so that publication related visualization queries respect the 1.2 ontology's date proeprties & also pre-1.2 onotology data. It first attempts to get date using new property, failing which it sees if date is present in old property & proceeds accordingly.
2. Refactored code for temporal graph vis. Fixed couple of bugs in it.
This commit is contained in:
parent
c73cb28426
commit
f6429af187
10 changed files with 180 additions and 214 deletions
|
@ -30,11 +30,13 @@ var colorConstantQueue = [ DARK_BLUE, DARK_TURQUOISE,
|
|||
|
||||
var freeColors = colorConstantQueue.slice();
|
||||
|
||||
var globalDateObject = new Date();
|
||||
|
||||
var year = {
|
||||
min: 1998,
|
||||
max: 2018,
|
||||
globalMin: 1995,
|
||||
globalMax: 2025
|
||||
min: globalDateObject.getFullYear() - 10,
|
||||
max: globalDateObject.getFullYear(),
|
||||
globalMin: globalDateObject.getFullYear() - 10,
|
||||
globalMax: globalDateObject.getFullYear()
|
||||
};
|
||||
|
||||
var colors = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue