Ei muokkausyhteenvetoa Merkkaus: Muokkaamalla palautettu |
Ei muokkausyhteenvetoa |
||
| Rivi 1 040: | Rivi 1 040: | ||
} else { | } else { | ||
memo.options.series[0] = { type: 'scatter', pointSize: 6, color: colors[ ' | memo.options.series[0] = { type: 'scatter', pointSize: 6, color: colors[ 'allyear' ] }; | ||
memo.data.addColumn( 'number', memo.obsMinYear + '-' + memo.obsMaxYear ); | memo.data.addColumn( 'number', memo.obsMinYear + '-' + memo.obsMaxYear ); | ||
| Rivi 1 057: | Rivi 1 057: | ||
memo.options.trendlines[2] = { 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[2] = { 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[' | memo.options.trendlines[0] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors['allyear'], lineWidth: 3, originalLineWidth: 3, opacity: 1, type: memo.trendType, 'degree': 2, visibleInLegend: memo.trendType!='moving' }; | ||
} | } | ||
| Rivi 1 707: | Rivi 1 707: | ||
var maintColors = { 'authority': '#bb1111', 'expert': '#ff9933', 'experienced': '#666666', 'user': '#aaaaaa'}; | var maintColors = { 'authority': '#bb1111', 'expert': '#ff9933', 'experienced': '#666666', 'user': '#aaaaaa'}; | ||
var seriesC = [ '#e4e3de', '#006085', '#f3a44c' ]; | |||
var colors = { 'average': 'BurlyWood', 'trend': '#ff4500', 'obses': 'lightgray', 'curObses': '#3366cc', 'selObses': 'gold', 'noticeObses': 'tan', 'summer': '#84c497', 'winter': '#006085', 'spring-autumn': '#e4e3de', 'allyear': '#005854' }; | |||
var seriesC = [ '#e4e3de', '#006085', '#f3a44c' ]; | |||
var i18n = { | var i18n = { | ||


