-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Add Threshold Lines in Charts #5037
Comments
@tbragin true, so closing this issue. |
I think that a scripted field is a fine workaround but I disagree that it replaces the need for horizontal marker type (ala #1983) functionality. |
I agree. Scripted fields doesn't offer the sort of functionality that #1983 seeks. |
The scripted field may work for line visualizations, but it isn't compatible with an area visualization using sub-aggregations. The ability to add a threshold is still needed in this case. |
@AlexClineBB fair enough, let's reopen this :) |
+1, scripted fields works for the most (thanks for the tip) but a threadshold value would be awesome :) |
+1 |
|
I'd also like to comment that the above workaround only works in a line chart if your Y axis aggregation is "average", using a scripted field doesn't insert a straight line on a "count" aggregation. +1 would like the ability to add horizontal threshold lines. Also would like horizontal shaded areas and vertical lines and shaded areas. (vertical line in a histogram is useful to mark events or interventions such as a code release or system reset, then compare that impact across multiple graphs. |
+1 |
Hey, |
+1 |
This is available today in the new time series visual builder. In 5.5 we introduced a static series options that allows for configurable thresholds (#11496). |
@alexfrancoeur While good for timelion, this feature is still desperately needed for other visualizations. Adding my 2 cents on the workaround - it pollutes the data severely with bunch of nonsense values that should be linked to a specific visualization, not the data. Having multiple thresholds in different graphs over same index is a mess... |
Actually, after taking some time to learn the very differt UI of visual builder it does all of what I imagine using this for with better options than default visualizations so I'm good already |
@kribor great to hear! The time series visual builder UI is curated specifically for time series. There are lots of options in this UI, including full support for pipeline aggregations and annotations. |
Is it planned when functionality will be available? |
I am confused. Was this resolved? I also need to have a threshold line on a vertical bar graph |
Hi, Do you have another workaround for my case? |
You can also add an average aggregation on some field you do not use in the visualization and change it's value to a static one with the Json input: |
Create an option to add a line to charts that represents some threshold. This would be a line that has a constant value. For example, add a straight line to a bar chart, which would represent a low threshold.
The text was updated successfully, but these errors were encountered: