I've got a website with different color schemes and on changing schemes I try to change charts, so barColor value changes fine, but trcakColor doesn't. Is possible to update trackColor value?
I change these values like this
$('.some-class').data('easyPieChart').options['barColor'] = '#ff0000';
$('.some-class').data('easyPieChart').options['trackColor'] = '#ffffff';
I also tried this option
$('.some-class').data('easyPieChart').options.barColor = '#ff0000';
$('.some-class').data('easyPieChart').options.trackColor = '#ffffff';
And again barColor changes its value, but trackColor doesn't. Any ideas?(:
I've got a website with different color schemes and on changing schemes I try to change charts, so barColor value changes fine, but trcakColor doesn't. Is possible to update trackColor value? I change these values like this $('.some-class').data('easyPieChart').options['barColor'] = '#ff0000'; $('.some-class').data('easyPieChart').options['trackColor'] = '#ffffff'; I also tried this option $('.some-class').data('easyPieChart').options.barColor = '#ff0000'; $('.some-class').data('easyPieChart').options.trackColor = '#ffffff'; And again barColor changes its value, but trackColor doesn't. Any ideas?(: