y축이 x축의 어느 값 위치를 지나가게 할지 설정합니다.
지정하면 차트 가장자리에 축 공간을 따로 두지 않습니다.
| name | type | required(default) | description |
|---|---|---|---|
| crossing | number |
선택(undefined) | y축이 x축의 어느 값 위치를 지나가게 할지 설정합니다. |
myChart.setOptions({
chart: {
type: "scatter"
},
yAxis: {
crossing: 2 // x값 2 위치에 y축 표시
},
series: [{
name: "측정값",
data: [[-3, -2], [-1, 1], [0, 3], [2, -1], [4, 2], [5, 4]]
}]
}, {
append: true,
redraw: true
});
| version | desc |
|---|---|
| 7.3.0.0 |