Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 408: | Rivi 408: | ||
if ( typeof i18n[ memo.obscode ].direction != 'undefined' ) { memo.vaxisdir = i18n[ memo.obscode ].direction; } else { memo.vaxisdir = 1; } | if ( typeof i18n[ memo.obscode ].direction != 'undefined' ) { memo.vaxisdir = i18n[ memo.obscode ].direction; } else { memo.vaxisdir = 1; } | ||
memo.options = { | memo.options = { backgroundColor: 'transparent', chartArea: { backgroundColor: { fill: '#ffffff', 'd': '#daf0fa', stroke: '#ccc', | ||
strokeWidth: 6 }}, legend: { position: 'bottom' }, crosshair: { trigger: 'both' }, tooltip: { isHtml: true }, seriesType: | |||
'scatter', interpolateNulls: true, vAxis: { title: i18n[memo.obscode]['axisTitleV'][memo.lang], titleTextStyle: { bold: | |||
true, italic: false }, slantedText: false, maxAlternation: 1, direction: memo.vaxisdir, gridlines: { color: '#eee', | |||
count: -1 }, minorGridlines: { count: 0 }, viewWindow: { } }, hAxis: { title: '', slantedText: false, maxAlternation: 1, | |||
gridlines: { color: '#eee' }, minorGridlines: { count: 0 }, viewWindow: { } }, series: [ ], trendlines: [ ], intervals: { | |||
'style': 'area' }, annotations: { textStyle: { fontName: 'Open sans', fontSize: 15, bold: true, color: '#3366cc', | |||
auraColor: 'transparent', Xopacity: 0.8 } } }; | |||
memo.obsesTotal = 0; | memo.obsesTotal = 0; | ||
| Rivi 1 201: | Rivi 1 166: | ||
memo.avgWlist.sort( function(a, b) { return (a.y*100+a.w) - (b.y*100+b.w); }); | memo.avgWlist.sort( function(a, b) { return (a.y*100+a.w) - (b.y*100+b.w); }); | ||
firstY = memo.avgWlist[0].y; | firstY = memo.avgWlist[0].y; | ||
firstW = memo.avgWlist[0].w; | firstW = memo.avgWlist[0].w; | ||


