BlazorChartjs icon indicating copy to clipboard operation
BlazorChartjs copied to clipboard

Reset Zoom

Open scout208 opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. The JavaScript chart-js-plugin-zoom library has a 'resetZoom' function that can be called on the chart to reset it to the defaults that were used before any zooming or panning occurred. It would be really helpful if the same function existed in this library.

Describe the solution you'd like Provide a function that can be called on the chart reference to reset the zoom.

Describe alternatives you've considered I thought about setting limits to the x and y axes instead of adding a reset zoom button however it also seems like the limits functionality is not fully defined (the class is empty).

scout208 avatar Apr 24 '23 21:04 scout208

HI @scout208, I'll add it to the enhancement list.

erossini avatar Apr 25 '23 14:04 erossini

Hey, with the new version of the component, there are some functionalities for the zoom.

Let me know if it is better. Enrico

erossini avatar Apr 22 '24 14:04 erossini