Apexcharts.js: donut total formatter errror

Created on 24 May 2019  路  5Comments  路  Source: apexcharts/apexcharts.js

i dont know what to spec with the result but i think this is wrong

image

also when chart type is donut or pie and the series is empty or zero it give an error
image
image

please fix this.. this is major bug i guess its a show stopper

thank you

bug

All 5 comments

Please provide a codepen demo.

@junedchhipa sorry cant provide codepen demo but this all the screenshot are from the code base as you can. just try empty array as the series of the chart

thank you

@paolog22 the maintainer asked for a simple example demonstrating the exact problem, doesn't need to be your real world code, like this:

https://codepen.io/anon/pen/KLxEVr

This is the error you are reporting, right?
In this case you could simply put series: [ 0 ] instead. Sending no value to a pie/donut chart might be undefined, i don't know.

@haroflow Thanks for the demo.
Yeah, looks like a bug. I will take an in-depth look soon.

@haroflow thank you for replicating @junedchhipa i am so sorry for not providing a demo my bad.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

drew-dulgar picture drew-dulgar  路  3Comments

felixalguzman picture felixalguzman  路  3Comments

cstlaurent picture cstlaurent  路  3Comments

ismaildervisoglu picture ismaildervisoglu  路  3Comments

rudeayelo picture rudeayelo  路  3Comments