Ero sivun ”Widget:JwObsCharts” versioiden välillä
Järvi-meriwikistä
Rivi 499: | Rivi 499: | ||
// make ticks for y axis on cat types | // make ticks for y axis on cat types | ||
− | if ( memo.obsesA.length > 0 ) { | + | if ( memo.obsesA.length > 0 && memo.graphtType != 'current' ) { |
if ( i18n[memo.obscode]['type'] == 'cat') { | if ( i18n[memo.obscode]['type'] == 'cat') { | ||
memo.options.vAxis.ticks = []; | memo.options.vAxis.ticks = []; | ||
Rivi 519: | Rivi 519: | ||
} | } | ||
− | + | memo.titleEl.html( memo.title ); | |
if ( typeof i18n[ memo.obscode ].changes != 'undefined' ) { | if ( typeof i18n[ memo.obscode ].changes != 'undefined' ) { | ||
if ( typeof typeof i18n[ memo.obscode ].changes[ memo.lang ] != 'undefined' ) { | if ( typeof typeof i18n[ memo.obscode ].changes[ memo.lang ] != 'undefined' ) { |