Ero sivun ”Widget:XJwCharts” versioiden välillä
Järvi-meriwikistä
Rivi 190: | Rivi 190: | ||
if (!!document.fullscreenElement) { | if (!!document.fullscreenElement) { | ||
− | memo.options.chartArea = { top: memo.margins.top*2, left: memo.margins.left*2, width: ( | + | memo.options.chartArea = { top: memo.margins.top*2, left: memo.margins.left*2, width: (w - memo.margins.left*2 - memo.margins.right - 24), height: (h - memo.margins.top*2 - memo.margins.bottom*2), backgroundColor: { fill: '#daf0fa', stroke: '#fff', strokeWidth: 6 }}; |
} else { | } else { | ||
− | memo.options.chartArea = { top: memo.margins.top, left: memo.margins.left, width: ( | + | memo.options.chartArea = { top: memo.margins.top, left: memo.margins.left, width: (w - memo.margins.left - memo.margins.right), height: (h - 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 }}; |