Hi,
I have a dashboard as follows:
And the stakeholder wants a legend as follows added to the dashboard:
How can this be achieved?
Thanks,
My apologies. Pie charts don't support the charting.legend.placement setting. I believe users have to hover over a segment to see what it represents.
Normally, we'd just edit the dashboard and turn on legends in the desired panels. This app, however, has disabled the Edit button. All is not lost, however. If you have access to the file system, you can edit the Simple XML directly.
Begin by copying the file from $SPLUNK_HOME/etc/apps/<this app>/default/data/ui/views to $SPLUNK_HOME/etc/apps/<this app>/local/data/ui/views.
Edit the copy and look for <option name="charting.legend.placement">none</option> and replace it with <option name="charting.legend.placement">right</option>
NOTE: Once this change is made, it will override the dashboard in the default directory. That means any updates in future versions of this app will not be seen by users until you repeat this process or delete the local copy of the dashboard.
Hey,
I have added the legend option onto one of my pie charts now:
But I see no legend still:
Why would this be?
Thanks,
Patrick
My apologies. Pie charts don't support the charting.legend.placement setting. I believe users have to hover over a segment to see what it represents.
Hi,
I do not have permissions to re-enable the edit mode of this app or access to the file system.
You may want to contact your Splunk admin for assistance.
Another option is to clone the dashboard. Once you're the owner you should have the ability to make changes. Cloning may require permissions you don't have, however, so admin help may be needed.