Sencha chart에서 확대 축소 처리
2024. 11. 24. 20:31ㆍJavascript/Sencha
itemhighlight: Highlights individual data points when hovered over.
panzoom: Enables zooming and panning using gestures or mouse.
zoomOnPanGesture: Enables zooming via gestures like pinch zoom or scroll wheel.
axes: Specifies which axes allow panning and zooming.
crosszoom: Allows rectangular zooming by dragging over a specific area.
zoomOnPanGesture: Disables zooming when dragging.
interactions: [
{
type: 'itemhighlight', // Highlights data points on hover
},
{
type: 'panzoom', // Enables panning and zooming
zoomOnPanGesture: true,
axes: {
left: {
allowPan: true,
allowZoom: true,
},
bottom: {
allowPan: true,
allowZoom: true,
},
},
},
{
type: 'crosszoom', // Allows rectangular zoom on drag
zoomOnPanGesture: false,
},
],
'Javascript > Sencha' 카테고리의 다른 글
Sencha Grid scroll 추가 (0) | 2024.11.26 |
---|---|
Sencha Grid 405에러 415에러 처리 (0) | 2024.11.26 |
Sencha layout item들이 수평으로 꽉차게 보이도록 처리 (0) | 2024.11.24 |
Sencha chart x축 글자 수직으로 표시하기 (0) | 2024.11.24 |
Sencha chart series 동적 처리 (0) | 2024.11.23 |