v3.23.1
New zoom range input auto fit config option
The zoom range input can now be made to fit the left and right positions of the chart.
By default, this option is turned off, therefore this is not a breaking change.
To opt-in, set the zoom.autoFit config to true.
Notes:
autoFit: truetakes precedence overzoom.maxWidth.- with
autoFit: true, you might consider adding some padding (right or left, depending on the position of the y-axis labels), using thepaddingobject in your configuration. Without padding, range handles might overflow the sides of the chart. - for the
VueUiQuickChartcomponent, the new attribute iszoomXyAutoFit
Components concerned with this change:
- VueUiXy
- VueUiXyCanvas
- VueUiQuickChart
- VueUiStackbar
- VueUiStackline
- VueUiDonutEvolution
- VueUiCandlestick
- VueUiRidgeline (embedded VueUiXy chart in the built-in dialog)
- VueUiTable (embedded VueUiXy chart in the built-in dialog)
VueUiCirclePack
- circle borders now do not scale when zooming, to preserve readability of very small circles when reaching high zoom values.
- tooltips now keep the same size when zooming