ghalex / vue3-charts

Vue3-Charts is an SVG-based charting library that is very easy to use and highly customizable
https://vue3charts.org
MIT License
142 stars 23 forks source link

How to refresh a chart? #49

Open mahirfatihunal opened 1 year ago

mahirfatihunal commented 1 year ago

How to refresh a chart? For example, I want it to recreate the chart SVG when the html document is resized.

kespaldon commented 1 year ago

did you try adding a :key parameter on the component?

and in your example the value of that parameter would be the screen width. that will refresh your chart for sure.