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