pane 의 크기를 설정합니다.
| name | type | required (default) | description |
|---|---|---|---|
| size | number or string |
선택(85%) | pane 크기 설정 숫자(px) 또는 백분율 문자열 (예: "85%", 그래프 영역의 가로·세로 중 짧은 쪽 기준) |
myChart.setOptions({
chart: {
type: "gauge"
},
pane: {
size:"100%", // pane 의 크기 설정
startAngle: -120,
endAngle: 120
},
yAxis: {
min: 960,
max: 1060,
gridLineWidth: 0,
plotBands: [{
from: 960,
to: 1030,
color: '#55BF3B'
}, {
from: 1030,
to: 1050,
color: '#DDDF0D'
}, {
from: 1050,
to: 1060,
color: '#DF5353'
}],
title: {
text: "hPa"
}
},
tooltip: {
pointFormat: "{point.y} hPa"
},
series: [{
name: "hPa",
data: [999]
}]
}, {
append: true,
redraw: true
});
| version | desc |
|---|---|
| 7.3.0.0 |