Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 116: | Rivi 116: | ||
//titleTextStyle: { fontSize: 14 }, | //titleTextStyle: { fontSize: 14 }, | ||
backgroundColor: 'transparent', | backgroundColor: 'transparent', | ||
chartArea: { top: t, left: l, width: (w - l - r), height: (h - t - b), backgroundColor: { fill: '#daf0fa', stroke: '#fff', strokeWidth: 6 }}, | chartArea: { top: t, left: l, width: (w - l - r), height: (h - t - b), backgroundColor: { fill: '#daf0fa', stroke: '#fff', strokeWidth: 6 }}, | ||
legend: { position: 'none' }, | legend: { position: 'none' }, | ||
crosshair: { trigger: 'both' }, | crosshair: { trigger: 'both' }, | ||
| Rivi 123: | Rivi 122: | ||
seriesType: 'scatter', | seriesType: 'scatter', | ||
interpolateNulls: true, | interpolateNulls: true, | ||
vAxis: { | vAxis: { | ||
title: i18n[memo.obscode]['axisTitleV'][memo.lang], | title: i18n[memo.obscode]['axisTitleV'][memo.lang], | ||
| Rivi 1 212: | Rivi 1 210: | ||
//memo.options.chartArea = { top: memo.margins.top, left: memo.margins.left, width: (memo.widgetEl.width() - memo.margins.left - memo.margins.right), height: (memo.widgetEl.height() - memo.margins.top - memo.margins.bottom), backgroundColor: { fill: '#daf0fa', stroke: '#fff', strokeWidth: 6 }}; | //memo.options.chartArea = { top: memo.margins.top, left: memo.margins.left, width: (memo.widgetEl.width() - memo.margins.left - memo.margins.right), height: (memo.widgetEl.height() - memo.margins.top - memo.margins.bottom), backgroundColor: { fill: '#daf0fa', stroke: '#fff', strokeWidth: 6 }}; | ||
} | } | ||
memo.options.chartArea = { top: t, left: l, width: (w - l - r), height: (h - t - b), backgroundColor: { fill: '#daf0fa', stroke: '#fff', strokeWidth: 6 }}; | memo.options.chartArea = { top: t, left: l, width: (w - l - r), height: (h - t - b), backgroundColor: { fill: '#daf0fa', stroke: '#fff', strokeWidth: 6 }}; | ||
console.log( memo.options ); | console.log( memo.options ); | ||
memo.chart.draw( memo.data, memo.options ); | memo.chart.draw( memo.data, memo.options ); | ||


