Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 335: | Rivi 335: | ||
mx = minM+mi; | mx = minM+mi; | ||
yx = memo.options.vAxis.minValue.getFullYear(); | yx = memo.options.vAxis.minValue.getFullYear(); | ||
if ( mx > 11 ) { yx = memo.obsMaxDate.getFullYear(); mx = mx - 12; } | if ( mx > 11 ) { yx = memo.obsMaxDate.getFullYear()+1; mx = mx - 12; } | ||
startOfMonth = new Date( yx, mx, 1 ); | startOfMonth = new Date( yx, mx, 1 ); | ||
| Rivi 1 095: | Rivi 1 095: | ||
} | } | ||
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 }}; | ||
memo.chart.draw( memo.data, memo.options ); | memo.chart.draw( memo.data, memo.options ); | ||


