가이드
Release
v1.4.28

✨ 기능 개선

axis.tick (opens in a new tab)과 label 위치 분리

  • 기존에는 label.location'inside'이면 tick 길이가 0으로 적용되어 tick이 표시되지 않았습니다.
  • 이제 tick.locationlabel.location과 독립적으로 동작합니다. tick을 축선 안쪽에 표시하려면 tick.location: 'inside'를 명시적으로 지정해야 합니다.
  • label만 inside로 두고 tick을 숨기려던 기존 설정은 tick이 바깥쪽에 그려질 수 있으니, 필요 시 tick.visible: false 또는 tick.length: 0을 함께 지정해 주세요.

➕ 기능 추가

axis.tick.location (opens in a new tab) tick 표시 위치 지정

  • 축 tick line을 축선 바깥쪽('default') 또는 안쪽·플롯 방향('inside')에 그릴 수 있습니다.
  • label.location (opens in a new tab)과 별도로 동작하며, category 축을 포함한 모든 축 타입에서 사용할 수 있습니다.
xAxis: {
    label: { location: 'inside' },
    tick: { visible: true, location: 'inside', length: 10 }
}

categoryTree (opens in a new tab) 다중 계층 카테고리 축 지원

xAxis: {
    type: 'category',
    categoryField: ['month', 'quarter', 'year'],
    categoryTree: {
        divider: { between: true, below: true },
        band: { colors: ['#f8fafc', '#f1f5f9'] }
    }
},
series: [{ type: 'bar', data }]

lineSeries.arrow (opens in a new tab) 라인 끝 화살표 마커

  • line 시리즈 양 끝(또는 한쪽 끝)에 화살표 마커를 표시할 수 있습니다.
  • position (opens in a new tab)('start' / 'end' / 'both')으로 위치를, rotation (opens in a new tab)('auto' / 'auto-reverse' / 각도)으로 방향을 지정할 수 있습니다.
  • step, splinelineType에 맞춰 마지막 구간 방향으로 자동 회전합니다.
series: [{
    type: 'line',
    marker: false,
    arrow: {
        visible: true,
        position: 'end',
        rotation: 'auto',
        radius: 6
    },
    data: [2, 4, 3, 6, 5, 8, 7]
}]