Ero sivun ”Widget:JwObsCharts2” versioiden välillä
Järvi-meriwikistä
Rivi 1 142: | Rivi 1 142: | ||
} | } | ||
− | console.log( memo.dataA ); | + | //console.log( memo.dataA ); |
− | memo.options.hAxis.ticks = []; | + | //memo.options.hAxis.ticks = []; |
− | for (i=memo.axisMinDate.getFullYear(); i<=memo.axisMaxDate.getFullYear(); i++) { | + | //for (i=memo.axisMinDate.getFullYear(); i<=memo.axisMaxDate.getFullYear(); i++) { |
− | + | // middleOfYear = new Date( i, 6, 1 ); | |
− | + | // memo.options.hAxis.ticks.push({v: middleOfYear, f: String(i) }); | |
− | } | + | //} |
memo.options.seriesType = 'line'; | memo.options.seriesType = 'line'; | ||
Rivi 1 154: | Rivi 1 154: | ||
memo.options.curveType = 'function'; | memo.options.curveType = 'function'; | ||
memo.options.intervals = { 'style': 'area' }; | memo.options.intervals = { 'style': 'area' }; | ||
+ | memo.options.series[1] = { type: 'line', pointSize: 3, color: '#3366cc' }; | ||
− | memo.options.vAxis.viewWindow.min = 80; | + | memo.options.vAxis.viewWindow.min = 80.5; |
memo.options.vAxis.viewWindow.max = 82; | memo.options.vAxis.viewWindow.max = 82; | ||