1. Minor changes to front-end text for temporal vis per Katy's requests.

This commit is contained in:
cdtank 2011-04-18 21:37:23 +00:00
parent c52e8362bc
commit a2069d1575
4 changed files with 22 additions and 10 deletions

View file

@ -253,9 +253,9 @@ function init(graphContainer) {
$("#comparisonParameter").text("Total Number of " + optionSelected);
$('#yaxislabel').html("Number of " + optionSelected).mbFlipText(false);
$('#comparisonHeader').html(optionSelected).css('font-weight', 'bold');
$('#legend-unknown-bar-text').text(COMPARISON_PARAMETERS_INFO[currentParameter].name + " with unknown year");
$('#legend-known-bar-text').text(COMPARISON_PARAMETERS_INFO[currentParameter].name + " with known year");
$('#legend-current-year-bar-text').text(COMPARISON_PARAMETERS_INFO[currentParameter].name + " from current incomplete year");
$('#legend-unknown-bar-text').text(toTitleCase(COMPARISON_PARAMETERS_INFO[currentParameter].name) + " with unknown year");
$('#legend-known-bar-text').text(toTitleCase(COMPARISON_PARAMETERS_INFO[currentParameter].name) + " with known year");
$('#legend-current-year-bar-text').text(toTitleCase(COMPARISON_PARAMETERS_INFO[currentParameter].name) + " from current incomplete year");
var defaultFlotOptions = {
xaxis : {
@ -1248,7 +1248,6 @@ function reloadDataTablePagination(preselectedEntityURIs, jsonData){
* */
currentDataTable.fnPageChange('first');
return currentDataTable;
}