Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa Merkkaus: Palautettu |
||
| Rivi 1 023: | Rivi 1 023: | ||
memo.options.series[2] = { type: 'scatter', pointSize: 6, color: colors[ 'spring-autumn' ] }; | memo.options.series[2] = { type: 'scatter', pointSize: 6, color: colors[ 'spring-autumn' ] }; | ||
memo.data.addColumn( 'number', ' | memo.data.addColumn( 'number', 'Kevät/syksy' ); | ||
memo.data.addColumn( {'type': 'string', 'role': 'style' } ); | memo.data.addColumn( {'type': 'string', 'role': 'style' } ); | ||
memo.data.addColumn( { type: 'string', role: 'annotation' } ); | memo.data.addColumn( { type: 'string', role: 'annotation' } ); | ||
memo.data.addColumn( { type: 'string', role: 'tooltip', 'p': { 'html': true } } ); | memo.data.addColumn( { type: 'string', role: 'tooltip', 'p': { 'html': true } } ); | ||
memo.data.addColumn( 'number', 'Talvi (tammi-huhtikuu)' ); | memo.data.addColumn( 'number', 'Talvi (tammi-huhtikuu)' ); | ||
| Rivi 1 033: | Rivi 1 033: | ||
memo.data.addColumn( { type: 'string', role: 'tooltip', 'p': { 'html': true } } ); | memo.data.addColumn( { type: 'string', role: 'tooltip', 'p': { 'html': true } } ); | ||
memo.data.addColumn( 'number', ' | memo.data.addColumn( 'number', 'Kesä (kesä-syyskuu)' ); | ||
memo.data.addColumn( {'type': 'string', 'role': 'style' } ); | memo.data.addColumn( {'type': 'string', 'role': 'style' } ); | ||
memo.data.addColumn( { type: 'string', role: 'annotation' } ); | memo.data.addColumn( { type: 'string', role: 'annotation' } ); | ||
memo.data.addColumn( { type: 'string', role: 'tooltip', 'p': { 'html': true } } ); | memo.data.addColumn( { type: 'string', role: 'tooltip', 'p': { 'html': true } } ); | ||
} else { | } else { | ||
| Rivi 1 054: | Rivi 1 054: | ||
if ( memo.summerwinter ) { | if ( memo.summerwinter ) { | ||
memo.options.trendlines[ | memo.options.trendlines[2] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors['summer'], lineWidth: 3, originalLineWidth: 3, opacity: 1, type: memo.trendType, 'degree': 2, visibleInLegend: false }; | ||
memo.options.trendlines[1] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors['winter'], lineWidth: 3, originalLineWidth: 3, opacity: 1, type: memo.trendType, 'degree': 2, visibleInLegend: false }; | memo.options.trendlines[1] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors['winter'], lineWidth: 3, originalLineWidth: 3, opacity: 1, type: memo.trendType, 'degree': 2, visibleInLegend: false }; | ||
} else { | } else { | ||
memo.options.trendlines[0] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors['trend'], lineWidth: 3, originalLineWidth: 3, opacity: 1, type: memo.trendType, 'degree': 2, visibleInLegend: memo.trendType!='moving' }; | memo.options.trendlines[0] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors['trend'], lineWidth: 3, originalLineWidth: 3, opacity: 1, type: memo.trendType, 'degree': 2, visibleInLegend: memo.trendType!='moving' }; | ||
} | } | ||
if ( memo.trendType == 'smart' ) { | if ( memo.trendType == 'smart' ) { | ||
| Rivi 1 079: | Rivi 1 077: | ||
if ( memo.summerwinter ) { | if ( memo.summerwinter ) { | ||
if ( memo.obsesA[o].seriesId == 'summer' ) { | if ( memo.obsesA[o].seriesId == 'summer' ) { | ||
memo.dataA.push( [ memo.obsesA[o].obsdatetime, memo.obsesA[o].value, memo.obsesA[o].style, null, memo.obsesA[o].popup | memo.dataA.push( [ memo.obsesA[o].obsdatetime, null, null, null, null, memo.obsesA[o].value, memo.obsesA[o].style, null, memo.obsesA[o].popup, null, null, null, null ] ); | ||
} else if ( memo.obsesA[o].seriesId == 'winter' ) { | } else if ( memo.obsesA[o].seriesId == 'winter' ) { | ||
memo.dataA.push( [ memo.obsesA[o].obsdatetime, null, null, null, null, memo.obsesA[o].value, memo.obsesA[o].style, null, memo.obsesA[o].popup | memo.dataA.push( [ memo.obsesA[o].obsdatetime, null, null, null, null, null, null, null, null, memo.obsesA[o].value, memo.obsesA[o].style, null, memo.obsesA[o].popup ] ); | ||
} else { | } else { | ||
memo.dataA.push( [ memo.obsesA[o].obsdatetime | memo.dataA.push( [ memo.obsesA[o].obsdatetime, memo.obsesA[o].value, memo.obsesA[o].style, null, memo.obsesA[o].popup, null, null, null, null, null, null, null, null ] ); | ||
} | } | ||
} else { | } else { | ||


