축에 표시할 눈금 개수를 지정합니다.
숫자 축(linear,logarithmic)에 적용되며, 카테고리 축에는 적용되지 않습니다.
| name | type | required(default) | description |
|---|---|---|---|
| tickAmount | number |
선택(undefined) | 축에 표시할 눈금 개수를 지정합니다. |
myChart.setOptions({
chart: {
type: "scatter"
},
xAxis: {
tickAmount: 7 // 눈금 7개
},
series: [{
name: "측정값",
data: [[1, 60], [3, 40], [7, 20], [12, 80]]
}]
}, {
append: true,
redraw: true
});
| version | desc |
|---|---|
| 7.3.0.0 |