Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 576: | Rivi 576: | ||
baseSize = 6; | baseSize = 6; | ||
} else if (memo.obsesTotal < 100) { | } else if (memo.obsesTotal < 100) { | ||
baseSize = | baseSize = 5; | ||
} else if (memo.obsesTotal < 200) { | } else if (memo.obsesTotal < 200) { | ||
baseSize = | baseSize = 4; | ||
} else if (memo.obsesTotal < 300) { | } else if (memo.obsesTotal < 300) { | ||
baseSize = | baseSize = 3; | ||
} else { | } else { | ||
baseSize = 2; | baseSize = 2; | ||
| Rivi 1 024: | Rivi 1 024: | ||
// series for trend line | // series for trend line | ||
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['summer'], lineWidth: 2, opacity: 0.5, type: 'linear', visibleInLegend: memo.trendType!='moving' }; | ||
memo.options.trendlines[1] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors[' | memo.options.trendlines[1] = { labelInLegend: i18n['trendline'][memo.lang], tooltip: false, color: colors['winter'], lineWidth: 2, opacity: 0.5, type: 'linear', visibleInLegend: memo.trendType!='moving' }; | ||
} else { | } else { | ||
| Rivi 1 637: | Rivi 1 637: | ||
var seriesC = [ 'lightgray', '#3366cc', 'orange' ]; | var seriesC = [ 'lightgray', '#3366cc', 'orange' ]; | ||
var colors = { 'average': 'BurlyWood', 'trend': '#ff4500', 'obses': 'lightgray', 'curObses': '#3366cc', 'selObses': 'gold', 'noticeObses': 'tan' }; | var colors = { 'average': 'BurlyWood', 'trend': '#ff4500', 'obses': 'lightgray', 'curObses': '#3366cc', 'selObses': 'gold', 'noticeObses': 'tan', 'summer': 'yellow', 'winter': 'blue' }; | ||
var i18n = { | var i18n = { | ||


