How can change configuration parameters of jquery easy pie
I am using `juery easy-pie chart` plugin for making pie charts.Initially I pass default configuration parameters.After I want to change configuration parameters like `bar-color, size`of pie chart.
default configuration parameters:
- $('.chart').easyPieChart({
- easing: 'easeOutCirc',
- barColor: '#1abc9c ',
- trackColor: '#f9f9f9 ',
- scaleColor:false,
- scaleLength: 5,
- percent:67,
- lineCap: 'round',
- lineWidth: 15, //12
- size: 150, //110
- animate: {duration: 2000,enabled: true},
- onStep: function(from, to, percent) {$(this.el).find('.percent').text(Math.round(percent));}
- });
I know, How to set `percentage` value dynamically to pie-chart,just like in the following way.
- $('#'+domId).data('easyPieChart').update(value);
except `percentage`, I want to set configuration parameters dynamically like
I want to set size,bar-color of pie chart dynamically.For this I tried allot but I didn't find the way.
tell me,The plugin what I am using is it supportable as per my specks. If it is supportable how can I fix this.
please can anyone help me.
Thanks.