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

Gauge range color does not change #47

Closed
sselvamani22 opened this Issue Feb 1, 2014 · 5 comments

Comments

Projects
None yet
5 participants
@sselvamani22

sselvamani22 commented Feb 1, 2014

Hi,
Its really nice plugin, I like Very much.

The problem is when I chance start and end color of the Gauge http://bernii.github.io/gauge.js/ here, It wont change the start and end color. If I set start color as #CF170A(red) and end color as #2CCF13(green), it wont change. It works only on default color.

Thank you

@niftytushar

This comment has been minimized.

Show comment
Hide comment
@niftytushar

niftytushar Feb 8, 2014

I also encountered the same issue. I wanted to set a single color for all values, but its working on some defaults. Green to yellow to red.
Also I don't seem to understand the effect of changing "generateGradient" value to false.

niftytushar commented Feb 8, 2014

I also encountered the same issue. I wanted to set a single color for all values, but its working on some defaults. Green to yellow to red.
Also I don't seem to understand the effect of changing "generateGradient" value to false.

@jurajseffer

This comment has been minimized.

Show comment
Hide comment
@jurajseffer

jurajseffer Feb 21, 2014

If you use Gauge, not Donut, you may want to set:
percentColors: [[0.0, "#1153E2"], [1.0, "#1153E2"]]
in options to make it go blue.

jurajseffer commented Feb 21, 2014

If you use Gauge, not Donut, you may want to set:
percentColors: [[0.0, "#1153E2"], [1.0, "#1153E2"]]
in options to make it go blue.

@niftytushar

This comment has been minimized.

Show comment
Hide comment
@niftytushar

niftytushar Feb 21, 2014

Yah, thanks. I found it already, just forgot to update the issue. The gauge.js plugin does not have any problem, the only problem is that the documentation is either not complete or is outdated. I found a few methods and clarifications which should have been included in the documentation. The plugin is great, I've used it in a project of mine, works perfectly!

niftytushar commented Feb 21, 2014

Yah, thanks. I found it already, just forgot to update the issue. The gauge.js plugin does not have any problem, the only problem is that the documentation is either not complete or is outdated. I found a few methods and clarifications which should have been included in the documentation. The plugin is great, I've used it in a project of mine, works perfectly!

@gudh

This comment has been minimized.

Show comment
Hide comment
@gudh

gudh Mar 9, 2014

same thing here, thanks @jurajseffer 👍

gudh commented Mar 9, 2014

same thing here, thanks @jurajseffer 👍

@bernii

This comment has been minimized.

Show comment
Hide comment
@bernii

bernii Mar 9, 2014

Owner

Fixed that and updated the docs( http://bernii.github.io/gauge.js/#advanced-options ) , thanks!

Owner

bernii commented Mar 9, 2014

Fixed that and updated the docs( http://bernii.github.io/gauge.js/#advanced-options ) , thanks!

@bernii bernii closed this Mar 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment