v2.4.64
Additional zoom features #153
- New config attributes are added to all charts bearing a zoom feature:
zoom.enableRangeHandles: boolean; // default: true
zoom.enableSelectionDrag: boolean; // default: true: allow dragging of the zoom selection (see video below)
For VueUiQuickChart
, these config attributes are the following:
zoomEnableRangeHandles: boolean; // default: true
zoomEnableSelectionDrag: boolean; // default: true
These attributes allow :
-
the user to drag a zoom selection, which is easier than using the range input handles
-
you to freeze a zoom selection (using the existing
zoom.startIndex
andzoom.endIndex
attributes, to setzoom.enableRangeHandles: false
, so the user will be able to drag a frozen zoom selection range) -
you to opt out of the drag feature, by setting
zoom.enableSelectionDrag: false
The zoom feature is available on the following components:
- VueUiCandlestick
- VueUiDonutEvolution
- VueUiQuickChart
- VueUiStackbar
- VueUiXy
- VueUiXyCanvas
The video below shows the default zoom configuration, with both attributes set to true
, on the VueUiXy component :
Enregistrement.de.l.ecran.2025-01-02.a.18.26.46.mov
Fix harmless svg console errors in some cases when the chart is being computed
- VueUiSparkline
- VueUiStackbar