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

[question] Is it possible to outline min - max value region #34

Closed
tsvetann opened this issue Nov 3, 2017 · 2 comments
Closed

[question] Is it possible to outline min - max value region #34

tsvetann opened this issue Nov 3, 2017 · 2 comments
Labels

Comments

@tsvetann
Copy link

tsvetann commented Nov 3, 2017

Is it possible and how to outline min - max value region. I see that by default only the 0 (zero) is outlined but is it possible to achieve the same effect with min max values such as 20 (min) and 60 (max). The idea is to change color of the readings such as within range (20-60) green anything out of the range maybe red or yellow...

An example of min max range (70-90 in this example) I found on google images that i would like to achieve:

screen shot 2017-11-03 at 18 12 45

The range area does not have to be filled with color can be just border outline.

Thx

@pratu16x7
Copy link
Contributor

pratu16x7 commented Nov 3, 2017

@tsvetann You can, by specifying an array for the data.specific_values prop, before passing data to the chart. Have updated the docs, check the 'Altitude' line for example:
screen shot 2017-11-03 at 11 11 22 pm

@tsvetann
Copy link
Author

tsvetann commented Nov 5, 2017

@pratu16x7 fantastic

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

No branches or pull requests

2 participants