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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...