-
Notifications
You must be signed in to change notification settings - Fork 81
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
Conditional colors #295
Comments
@prfalken - FYI, there actually are warning and danger alert thresholds buried in the dashboard item rendering code already. You can see their effects in the gallery sample. I'm planning to refactor them slightly, however, so I wouldn't rely on them in their current form - instead of being a property of each individual dashboard item, I'd like to make them a property of the Query object. That way the thresholds can be applied to any items that share the same query. Either way, there's no way to set them in the UI currently, but you can play with them using the API. |
Quick feedback; I would be interested in using the threshold in both manners. I have charts and singlestats side by side on some pages, using the same query. On those pages, I'd like to use the same query but only have the singlestat change color when over threshold (ignoring the threshold in the time series). So perhaps create a property of any renderer which would allow you to ignore threshold behavior in the query? |
Yeah, allowing a per-item override of the per-query threshold should be straightforward. |
👍 this would be awesome to have! other random idea, the same concept can be applied to graphs too: e.g. (single) time series can have their background split in chunks and each chunk is colored based on how close the value is to the threshold for that chunk. Or bar charts have individual bars colored based on how close the value is to the threshold. Also note that I have no idea how easy/hard it is to implement this in practice :) |
The 'singlegraph' item is inspired by Tasseo and is wonderful !
However Tasseo offers the conditional colors feature, which allows you to set thresholds for which the graph colors would change.
This feature would be awesome in Tessera : for instance the graphs would switch to red if the value go over a specific threshold.
The text was updated successfully, but these errors were encountered: