ceiling (xAxis properties)
자동으로 계산되는 축 최대값의 한계를 설정합니다.
데이터, 여백(minPadding, maxPadding), 눈금 맞춤(startOnTick, endOnTick)으로 자동 계산되는 범위에 적용됩니다. min, max 속성이나 setAxisExtremes로 직접 지정한 범위에는 적용되지 않습니다.
Info
| name |
type |
required(default) |
description |
| ceiling |
number |
선택(undefined) |
자동으로 계산되는 축 최대값의 한계를 설정합니다. |
Example
myChart.setOptions({
chart: {
type: "scatter"
},
xAxis: {
maxPadding: 0.3,
ceiling: 10
},
series: [{
name: "측정값",
data: [[1, 60], [3, 40], [5, 20], [9, 80]]
}]
}, {
append: true,
redraw: true
});
제공 버전