How to create a line (threshold/benchmark) to a vertical bar graph

Hello,
I am stuck on my project.
I need to find a way to create a simple horisontal line (threshold/benchmark) on my vertical bar chart.
I can't seem to find a solution.
Please help

Hey Peter,

Which visualization builder are you using? With a line chart you can create a scripted field set to a static value and plot it. With timelion you can use the .static function.

Hey,
I am using basic chart (vertical bar)
Can you tell me a bit more about it?

Sure, if you go to management -> index pattern -> select index -> and click on scripted fields

This will create a field that will always return 10. Adding it as a metric to our visualization will give us a fixed bar. Then we need to change it to a line:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.