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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...