[VIVO-1114] Fix sparkling not rendering problems.
This commit is contained in:
parent
84d2811512
commit
349bd4a847
2 changed files with 26 additions and 14 deletions
|
@ -49,10 +49,6 @@
|
|||
maxValue: '${sparklineVO.latestRenderedPublicationYear?c}'
|
||||
}]));
|
||||
|
||||
<#else>
|
||||
|
||||
</#if>
|
||||
|
||||
var visualizationOptions = {
|
||||
width: 150,
|
||||
height: 60,
|
||||
|
@ -60,6 +56,17 @@
|
|||
chartType: 'ls',
|
||||
chartLabel: 'r'
|
||||
}
|
||||
<#else>
|
||||
|
||||
var visualizationOptions = {
|
||||
width: 250,
|
||||
height: 75,
|
||||
color: '3399CC',
|
||||
chartType: 'ls',
|
||||
chartLabel: 'r'
|
||||
}
|
||||
</#if>
|
||||
|
||||
|
||||
/*
|
||||
This means that all the publications have unknown years & we do not need to display
|
||||
|
@ -168,7 +175,7 @@
|
|||
* Sparks that will be rendered will always be the one's which has
|
||||
* any year associated with it. Hence.
|
||||
* */
|
||||
var renderedSparks = ${sparklineVO.renderedSparks};
|
||||
var renderedSparks = ${sparklineVO.renderedSparks?c};
|
||||
|
||||
/*
|
||||
In case that there are only unknown publications we want the text to mention these counts,
|
||||
|
|
|
@ -50,11 +50,6 @@
|
|||
maxValue: '${sparklineVO.latestRenderedPublicationYear?c}'
|
||||
}]));
|
||||
|
||||
|
||||
<#else>
|
||||
|
||||
</#if>
|
||||
|
||||
var visualizationOptions = {
|
||||
width: 150,
|
||||
height: 60,
|
||||
|
@ -62,6 +57,16 @@
|
|||
chartType: 'ls',
|
||||
chartLabel: 'r'
|
||||
}
|
||||
<#else>
|
||||
var visualizationOptions = {
|
||||
width: 250,
|
||||
height: 75,
|
||||
color: '3399CC',
|
||||
chartType: 'ls',
|
||||
chartLabel: 'r'
|
||||
}
|
||||
</#if>
|
||||
|
||||
|
||||
/*
|
||||
This means that all the publications have unknown years & we do not need to display
|
||||
|
@ -171,7 +176,7 @@
|
|||
* Sparks that will be rendered will always be the one's which has
|
||||
* any year associated with it. Hence.
|
||||
* */
|
||||
var renderedSparks = ${sparklineVO.renderedSparks};
|
||||
var renderedSparks = ${sparklineVO.renderedSparks?c};
|
||||
|
||||
/*
|
||||
In case that there are only unknown publications we want the text to mention these counts,
|
||||
|
|
Loading…
Add table
Reference in a new issue