rendro/easy-pie-chart

change max percent

fillsanches opened this issue · 1 comments

Hi rendro,

By default all piecharts have max percent 100%.
I need change the value of just one piechart (gray) to 5%.
In this case if the gray piechart reach 5% it is full.

I know that I can change the max percent here:

drawCircle(color, options.lineWidth, percent / 100.0);
}.bind(this);

But, how can I change just the gray piechart?

Thanks!

My solution:

Result = MyValue * 100 / 5.
Thanks!