Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to update trackColor #206

Open
maximQa-kgd opened this issue Jan 16, 2019 · 2 comments
Open

Unable to update trackColor #206

maximQa-kgd opened this issue Jan 16, 2019 · 2 comments

Comments

@maximQa-kgd
Copy link

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?(:

@maximQa-kgd
Copy link
Author

I found that in version 1.0.1 colorTrack changes perfectly, but in version 2.1.7 doesn't. Is it possible to fix?

@MarioPerini
Copy link

Why not:
$('.some-class').easyPieChart({ barColor:'#ff0000, trackColor:'#ffffff });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants