Dashboards & Visualizations

how to make Legend NOT clickable?

sanjum01
Explorer

Hi all,
I am trying to change the behavior of legend, I am trying to make it NOT clickable. I have below properties related to bar chart.
<option name="charting.chart">column</option>
<option name="charting.drilldown">all</option>
<option name="charting.legend.labelStyle.overflowMode">ellipsisEnd</option>
<option name="charting.legend.mode">standard</option>
<option name="charting.legend.placement">right</option>
<option name="trellis.enabled">0</option>
<option name="refresh.display">progressbar</option>

Any suggestions please? I am not seeing any other options related to legend in splunk docs.

Labels (2)
0 Karma

jhanvidattani
Path Finder

@sanjum01 

If you want to display the legends but disable the click events on them, then you can add CSS code mentioned in this Link. 

 

 

0 Karma

vhharanpositka
Path Finder

Hi @sanjum01 

You can hide the Legends by using the following parameter.

<option name="charting.legend.placement">none</option>

But the drill-down is enabled. Without clicking the value there is no point in using the drill-down.

If there is more info regarding the requirement, it will be better to sort it out.

0 Karma
Get Updates on the Splunk Community!

New Case Study: How LSU’s Student-Powered SOCs and Splunk Are Shaping the Future of ...

Louisiana State University (LSU) is shaping the next generation of cybersecurity professionals through its ...

Splunk and Fraud

Join us on November 13 at 11 am PT / 2 pm ET!Join us for an insightful webinar where we delve into the ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...