Ero sivun ”Widget:JwObsCharts” versioiden välillä
Järvi-meriwikistä
Rivi 1 158: | Rivi 1 158: | ||
} | } | ||
− | console.log( memo.avgMlist ); | + | //console.log( memo.avgMlist ); |
memo.avgMsmooth = smooth( memo.avgMlist, memo.gSmoothing ); | memo.avgMsmooth = smooth( memo.avgMlist, memo.gSmoothing ); | ||
Rivi 1 164: | Rivi 1 164: | ||
memo.avgHsmooth = smooth( memo.avgHlist, memo.gSmoothing ); | memo.avgHsmooth = smooth( memo.avgHlist, memo.gSmoothing ); | ||
− | console.log( memo.avgMsmooth ); | + | //console.log( memo.avgMsmooth ); |
//console.log(memo.avgMlist); | //console.log(memo.avgMlist); | ||
Rivi 1 258: | Rivi 1 258: | ||
memo.options.vAxis.viewWindowMode = 'explicit'; | memo.options.vAxis.viewWindowMode = 'explicit'; | ||
− | console.log( memo.options ); | + | //console.log( memo.options ); |
for (i=0; i<mCount; i++) { | for (i=0; i<mCount; i++) { | ||
Rivi 1 372: | Rivi 1 372: | ||
memo.options.chartArea = { top: t, left: l, width: (w - l - r), height: (h - t - b), backgroundColor: { fill: '#fff', stroke: '#eee', strokeWidth: 4 }}; | memo.options.chartArea = { top: t, left: l, width: (w - l - r), height: (h - t - b), backgroundColor: { fill: '#fff', stroke: '#eee', strokeWidth: 4 }}; | ||
− | + | console.log( memo.options ); | |
memo.chart.draw( memo.data, memo.options ); | memo.chart.draw( memo.data, memo.options ); |