Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 439: | Rivi 439: | ||
fontSize: 15, | fontSize: 15, | ||
bold: true, | bold: true, | ||
color: colors['text'], | |||
color: ' | |||
auraColor: 'transparent', | auraColor: 'transparent', | ||
Xopacity: 0.8 | Xopacity: 0.8 | ||
| Rivi 991: | Rivi 990: | ||
memo.options.seriesType = 'line'; | memo.options.seriesType = 'line'; | ||
memo.options.series[0] = { type: 'line', pointSize: 3, color: ' | memo.options.series[0] = { type: 'line', pointSize: 3, color: colors['curObses'] }; | ||
memo.options.curveType = 'function'; | memo.options.curveType = 'function'; | ||
memo.options.intervals = { 'style': 'area' }; | memo.options.intervals = { 'style': 'area' }; | ||
| Rivi 1 563: | Rivi 1 562: | ||
// move current observations to top | // move current observations to top | ||
gEl = jQuery( document.getElementById(memo.id) ).find( 'svg' ).append( 'g' ); | gEl = jQuery( document.getElementById(memo.id) ).find( 'svg' ).append( 'g' ); | ||
jQuery( document.getElementById(memo.id) ).find( 'path[stroke=" | jQuery( document.getElementById(memo.id) ).find( 'path[stroke="' + colors['curObses'] + '"]' ).detach().appendTo( gEl ); | ||
jQuery( document.getElementById(memo.id) ).find( 'circle[fill=" | jQuery( document.getElementById(memo.id) ).find( 'circle[fill="' + colors['curObses'] + '"]' ).detach().appendTo( gEl ); | ||
jQuery( document.getElementById(memo.id) ).find( 'circle[stroke-width="3"]' ).each( function() { jQuery( this ).parent().append( jQuery( this ) ); }); | jQuery( document.getElementById(memo.id) ).find( 'circle[stroke-width="3"]' ).each( function() { jQuery( this ).parent().append( jQuery( this ) ); }); | ||
| Rivi 1 707: | Rivi 1 706: | ||
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 seriesC = [ '#e4e3de', '#006085', '#f3a44c' ]; | ||
var colors = { 'average': 'BurlyWood', 'trend': '#ff4500', 'obses': 'lightgray', 'curObses': '# | var colors = { 'text': '#005854', 'average': 'BurlyWood', 'trend': '#ff4500', 'obses': 'lightgray', 'curObses': '#005854', 'selObses': 'gold', 'noticeObses': 'tan', 'summer': '#84c497', 'winter': '#006085', 'spring-autumn': '#fed992', 'allyear': '#005854' }; | ||
var i18n = { | var i18n = { | ||


