연결된 데이터가 없는 축의 축선과 제목을 표시할지 설정합니다.
| name | type | required(default) | description |
|---|---|---|---|
| showEmpty | boolean |
선택(true) | 연결된 데이터가 없는 축의 축선과 제목을 표시할지 설정합니다. |
myChart.setOptions({
chart: {
type: "line"
},
xAxis: [{
title: { text: "월" }
}, {
title: { text: "분기" },
opposite: true,
showEmpty: false // 데이터가 없으면 축선과 제목을 숨김
}],
series: [{
name: "서울",
data: [60, 40, 20, 80]
}]
}, {
append: true,
redraw: true
});
| version | desc |
|---|---|
| 7.3.0.0 |