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

(Peter Ber) #1

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

(Jon Budzenski) #2

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.

(Peter Ber) #3

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

(Jon Budzenski) #4

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:

(system) #5

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