Megabit / Blazorise

Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material.
https://blazorise.com/
Other
3.18k stars 516 forks source link

Chart: Implement zoom plug-in #5502

Open technyon opened 1 month ago

technyon commented 1 month ago

Is your feature request related to a problem? Please describe. The current implementation for charts lacks zoom (and panning).

Describe the solution you'd like Allow the user to zoom. This functionality could be enabled by implement wrapper code for chartjs-plugin-zoom

Additional context

I need a line chart that displays realtime data, and at the same time allows the user to zoom in on parts of the data. Optimally scrolling of realtime data would stop while the user has zoomed in on data, and continue when returning to "normal" zoom.

P.S.: I'm using server-side rendering.

stsrki commented 1 month ago

Hello @technyon Thank you for the submission.

As mentioned in our previous discussion, we will look into it and implement it if possible.


Note for self: https://www.chartjs.org/chartjs-plugin-zoom/latest/

technyon commented 1 month ago

For reference, this library already implements the plugin:

https://github.com/erossini/BlazorChartjs