-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
multi-color graphs #589
Comments
Ok, looking into the source, I can see that this is non-trivial, but would be doable. The first-pass approach would be:
I might still give it a shot, but just wanted to summarize for anyone else thinking about it. And totally understandable @FelixKratz if this is out of scope & you want to close the issue. |
Alternatively, another way to tackle this could be the ability to set one or more threshold/color combinations, then instead of storing the color for a data point, it could be drawn based on meeting thresholds instead. |
I think from the code point-of-view this is doable, I however wonder what a proper syntax for this would look like? |
I hadn’t yet checked for support of optional arguments, but for direct color I imagined it would just be:
For the idea of thresholds, the syntax does get messier. Maybe an added property syntax like this?
(or |
I searched and didn't see a history of discussion about this feature, but I would be interested in the ability to plot values of varying color (fill, at least) for graphs. For example, graphing CPU a certain color, but then yellow when >80% and red when >90%.
Has this been looked into at all? Just wondering as I might take a crack at it and submit a PR if there is interest.
The text was updated successfully, but these errors were encountered: