Ero sivun ”Widget:JwObsCharts2” versioiden välillä
Järvi-meriwikistä
Rivi 1 142: | Rivi 1 142: | ||
} | } | ||
− | + | console.log( i18n ); | |
// make ticks for x axis | // make ticks for x axis | ||
Rivi 1 149: | Rivi 1 149: | ||
m = i+1; | m = i+1; | ||
middleOfMonth = new Date( memo.curSeason, m, 16 ); | middleOfMonth = new Date( memo.curSeason, m, 16 ); | ||
+ | console.log(m); | ||
memo.options.hAxis.ticks.push({v: middleOfMonth, f: i18n.months[m]['roman'] }); | memo.options.hAxis.ticks.push({v: middleOfMonth, f: i18n.months[m]['roman'] }); | ||
} | } |