ceiling (yAxis properties)
자동으로 계산되는 축 최대값의 한계를 설정합니다.
백분율처럼 최대값이 정해진 데이터에서 여백과 눈금 맞춤 때문에 축이 100을 넘어가는 것을 막을 때 사용합니다.
데이터, 여백(minPadding, maxPadding), 눈금 맞춤(startOnTick, endOnTick)으로 자동 계산되는 범위에 적용됩니다. min, max 속성이나 setAxisExtremes로 직접 지정한 범위에는 적용되지 않습니다.
Info
| name |
type |
required(default) |
description |
| ceiling |
number |
선택(undefined) |
자동으로 계산되는 축 최대값의 한계를 설정합니다. |
Example
myChart.setOptions({
chart: {
type: "line"
},
yAxis: {
ceiling: 100
},
series: [{
name: "달성률",
data: [60, 95, 99, 90]
}]
}, {
append: true,
redraw: true
});
제공 버전