Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 405: | Rivi 405: | ||
memo.options = { | memo.options = { | ||
backgroundColor: 'transparent', | backgroundColor: 'transparent', | ||
chartArea: { backgroundColor: { fill: '#ffffff', stroke: ' | chartArea: { backgroundColor: { fill: '#ffffff', stroke: colors( 'text'), strokeWidth: 2 }}, | ||
legend: { position: 'bottom', textStyle: { color: colors['text'] } }, | legend: { position: 'bottom', textStyle: { color: colors['text'] } }, | ||
crosshair: { trigger: 'both' }, | crosshair: { trigger: 'both' }, | ||
| Rivi 1 626: | Rivi 1 626: | ||
var b = Math.max( memo.margins.bottom, 0.15*h ); | var b = Math.max( memo.margins.bottom, 0.15*h ); | ||
memo.options.chartArea = { top: t, left: l, width: (w - l - r), height: (h - t - b) | memo.options.chartArea = { top: t, left: l, width: (w - l - r), height: (h - t - b) }; | ||
for ( var o in memo.data.Wf ) { | for ( var o in memo.data.Wf ) { | ||
for ( var i in memo.data.Wf[ o ].c ) { | for ( var i in memo.data.Wf[ o ].c ) { | ||


