Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 1 027: | Rivi 1 027: | ||
// series for trend line | // series for trend line | ||
memo.options.trendlines[0] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors['summer'], lineWidth: 3, opacity: 0.75, type: 'polynomial', 'degree': 2, visibleInLegend: false }; | memo.options.trendlines[0] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors['summer'], lineWidth: 3, opacity: 0.75, type: 'polynomial', 'degree': 2, visibleInLegend: false }; | ||
memo.options.trendlines[1] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors['winter'], lineWidth: 3, opacity: 0.75, type: ' | memo.options.trendlines[1] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors['winter'], lineWidth: 3, opacity: 0.75, type: 'polynomial', 'degree': 2, visibleInLegend: false }; | ||
} else { | } else { | ||
| Rivi 1 039: | Rivi 1 039: | ||
// series for trend line | // series for trend line | ||
memo.options.trendlines[0] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors['trend'], lineWidth: 3, opacity: 0.75, type: ' | memo.options.trendlines[0] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors['trend'], lineWidth: 3, opacity: 0.75, type: 'polynomial', 'degree': 2, visibleInLegend: memo.trendType!='moving' }; | ||
} | } | ||


