thysultan / cssCharts.js

jquery plugin to create donut and bar charts with css
http://thysultan.com/projects/cssCharts/
45 stars 11 forks source link

Pie-Chart is not render when you have only one value in dataset #10

Open DJINDAL9655 opened 7 years ago

DJINDAL9655 commented 7 years ago

Hi Team, First of all, I would like to say thanks for sharing this feature. Its working really great as per our requirement. During our testing with this jquery plugin, we have observed that when you have only one value in pie-chat and rest of the dataset values is zero, the pie-chat is not render on the browser.

<div class="pie-thychart" data-colors="#5EB7C7,#F9BC36,#888888" data-set='[["Open Transactions", 81], ["Closed Transactions",0], ["eSignature",0]]'>

Appreciate if you could help us in resolving the same.

Thanks Deepak

thysultan commented 7 years ago

Thanks for finding this, the whole code base is in need of a re-write, though i don't know when i'll come around to working on it since my current efforts are dedicated to other projects.