Dashboards & Visualizations

Default Value Dashboard Linechart

shahbaz
Engager

Hi, 

Need to create dashboard with visualization type as line chart,  need to have a default value which is as reference line, for this i have added eval Target=1|table Target in splunk query.

Now i need to highlight the target/default  line always, and this line is to thicker than remaining lines in visualization and Bold, so that it can be distinct from others. 

Need to achieve this only from Splunk , no JS or others is needed.

TIA.

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You can do this with some CSS - this would normally be in a hidden panel - in the example below, it refers to a panel holding you linechart as "referenceline", you would need to give your panel this id. Also, it is assuming that the reference line is the first line (it might be the second line if the indexing starts at zero) - you may need to adjust this so that it refers to your reference line.

          div[id^="referenceline"] g.highcharts-series-group g:nth-child(1) path {
            stroke-width: 2 !important;
          }
0 Karma
Get Updates on the Splunk Community!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

January 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk + Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...