SCRIPT/JAVASCRIPT
HighChart - X 축 라벨링 커스터마이징
bin.repository
2020. 1. 27. 09:23
반응형
SMALL
하이차트 가이드 원문 : https://api.highcharts.com/highcharts/xAxis.tickPositions
Highcharts API Option: xAxis.tickPositions
An array defining where the ticks are laid out on the axis. This overrides the default behaviour of tickPixelInterval and tickInterval.
api.highcharts.com
Highcharts Demo - JSFiddle
jsfiddle.net
xAxis.tickPositions 에 인덱스 배열을 넣어서, 카테고리 배열의 인덱스만 X 축 표현을 할 수 있도록 한다.
반응형
LIST