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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...