Ero sivun ”Widget:JwObsCharts2” versioiden välillä
Järvi-meriwikistä
Rivi 1 142: | Rivi 1 142: | ||
} | } | ||
− | console.log( i18n ); | + | //console.log( i18n ); |
// make ticks for x axis | // make ticks for x axis | ||
Rivi 1 154: | Rivi 1 154: | ||
memo.options.seriesType = 'line'; | memo.options.seriesType = 'line'; | ||
− | memo.options.series[0] = { type: 'line', pointSize: 0, color: | + | memo.options.series[0] = { type: 'line', pointSize: 0, color: colors.average }; |
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: 2, color: | + | memo.options.series[1] = { type: 'line', pointSize: 2, color: color.curObses, lineWidth: 5 }; |
memo.options.vAxis.viewWindow.min = 80.5; | memo.options.vAxis.viewWindow.min = 80.5; |