배경 속성을 설정합니다.
| name | type | required (default) | description |
|---|---|---|---|
| background | object |
선택 | 배경 속성 |
| background.backgroundColor | color |
선택(#cccccc) | 배경 색상 |
| background.borderColor | color |
선택 | border 색상 |
| background.borderWidth | number |
선택 | border의 너비 |
| background.innerRadius | number or string |
선택 | pane 안쪽의 radius 적용 값 (숫자 또는 퍼센트 값으로 설정) 숫자(px) 또는 백분율 문자열 (예: "60%", pane 크기 기준) |
| background.outerRadius | number or string |
선택 | pane 바깥쪽의 radius 적용 값 (숫자 또는 퍼센트 값으로 설정) 숫자(px) 또는 백분율 문자열 (예: "100%", pane 크기 기준) |
myChart.setOptions({
chart: {
polar: true,
type: 'area'
},
xAxis: {
categories: ["평화주의자","완벽주의자","돕고자 하는 사람","성취하는 사람","개인주의자","탐구하는 사람","충실한 사람","열정적인 사람","도전하는 사람"],
tickmarkPlacement: 'on',
lineWidth: 0
},
yAxis: {
title: {
text : ""
},
gridLineInterpolation: 'polygon',
lineWidth: 0,
max: 100,
min: 0
},
pane: [{
background: null, //background 속성 설정하지 않음
}],
tooltip: {
enabled: false
},
legend: {
enabled: false
},
plotOptions: {
series: {
marker: {
enabled: false,
states: {
hover: {
enabled: false
},
select: {
enabled: false
}
}
}
}
},
series: [{
data: [0, 0, 0, 0, 0, 100, 100, 100, 0],
pointPlacement: 'on'
}]
}, {
append: true,
redraw: true
});
| version | desc |
|---|---|
| 7.3.0.0 |