How to add two (or more) Target/Benchmark lines to a chart?
Hi all!
I'm relatively new to Sisense & just finding my way. I've followed the instructions in this post about adding a Target or Benchmark line to a chart (https://www.binextlevel.com/post/add-target-benchmark-line-to-a-chart-in-sisense).
However, I've been asked to find a way to add multiple such lines to a graph, each one to be (preferably) individually configurable by line thickness, pattern, color, etc.),
I would genuinely be so thankful for anything people here can suggest.
Thank you!
Robert M Chapple
Posted 1 year ago·Last reply 1 year ago
4 comments
Animesh Gupta
·1 year agoCan I use a field from my datasource in line chart as the base line value?
Hari KM
·1 year agoIf you're looking for something fancier, you can try adding bands to the chart.
Refer: https://www.binextlevel.com/post/add-bands-to-line-chart-in-sisense
-Hari
Hari KM
·1 year agoHi TheLivingBubba ,
As you see in the post, the 'ev.result.yAxis[0].plotLines' is an array. So you can add any number of plot lines to it. Here is an example:
And the result is:
Let me know if that works!
-Hari
https://www.binextlevel.com/