Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 796: | Rivi 796: | ||
memo.data.addColumn( { type: 'string', role: 'tooltip', 'p': { 'html': true } } ); | memo.data.addColumn( { type: 'string', role: 'tooltip', 'p': { 'html': true } } ); | ||
memo.data.addColumn( { type: 'string', role: 'annotation' } ); | memo.data.addColumn( { type: 'string', role: 'annotation' } ); | ||
memo.options.series.push( { type: 'scatter', pointType: 'circle', pointSize: 8, color: memo.seriesA[ s ].color, XstrokeWidth: 2, Xstroke: '#000000' } ); | memo.options.series.push( { type: 'scatter', pointType: 'circle', pointSize: 8, color: memo.seriesA[ s ].color, XstrokeWidth: 2, Xstroke: '#000000' } ); | ||
| Rivi 1 008: | Rivi 1 008: | ||
memo.axisMinDate.setDate(1); | memo.axisMinDate.setDate(1); | ||
memo.axisMaxDate.setDate(31); | memo.axisMaxDate.setDate(31); | ||
if ( memo.summerwinter ) { | if ( memo.summerwinter ) { | ||
memo.options.series[0] = { type: 'scatter', pointSize: 6, color: colors[ 'summer' ] }; | |||
memo.options.series[1] = { type: 'scatter', pointSize: 6, color: colors[ 'winter' ] }; | |||
memo.data.addColumn( 'number', 'Kesä (touko-syyskuu)' ); | memo.data.addColumn( 'number', 'Kesä (touko-syyskuu)' ); | ||
| Rivi 1 033: | Rivi 1 031: | ||
} else { | } else { | ||
memo.options.series[0] = { type: 'scatter', pointSize: 6, color: colors[ 'summer' ] }; | |||
memo.data.addColumn( 'number', memo.obsMinYear + '-' + memo.obsMaxYear ); | memo.data.addColumn( 'number', memo.obsMinYear + '-' + memo.obsMaxYear ); | ||
memo.data.addColumn( {'type': 'string', 'role': 'style' } ); | memo.data.addColumn( {'type': 'string', 'role': 'style' } ); | ||
| Rivi 1 062: | Rivi 1 062: | ||
memo.options.hAxis.ticks.push({v: middleOfYear, f: String(i) }); | memo.options.hAxis.ticks.push({v: middleOfYear, f: String(i) }); | ||
} | } | ||
drawChart(memo); | drawChart(memo); | ||


