himynameisdave / svelte-frappe-charts

📈 Svelte bindings for frappe-charts.
https://frappe.io/charts
MIT License
306 stars 16 forks source link

Error when refreshing the page #37

Closed deb-dasit closed 3 years ago

deb-dasit commented 3 years ago

Hi, I'm getting Error: attribute width: A negative value is not valid. ("-3.1999999999999993") when refreshing the page or redirecting from another page. I tried to render it in accordion as well in normal html body, but getting same issue. image Please help.

himynameisdave commented 3 years ago

Hi @deb-dasit!

It looks like this error is originating from the frappe-charts library based on the error messages. Please feel free to file this issue over there, as they will have a better idea of what the issue is.

If the issue is related to Svelte in some way, feel free to notify me and we can reopen this issue and take a look! 👍

deb-dasit commented 3 years ago

Thanks @himynameisdave and apology for delay response. I have replaced the frappe-charts (svelte) with chartjs(svelte).