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!

Splunk Lantern | Spotlight on Security: Adoption Motions, War Stories, and More

Splunk Lantern is a customer success center that provides advice from Splunk experts on valuable data ...

Splunk Cloud | Empowering Splunk Administrators with Admin Config Service (ACS)

Greetings, Splunk Cloud Admins and Splunk enthusiasts! The Admin Configuration Service (ACS) team is excited ...

Tech Talk | One Log to Rule Them All

One log to rule them all: how you can centralize your troubleshooting with Splunk logs We know how important ...