Splunk Search

How to display a legend at the bottom of a pie chart panel?

kkarthik2
New Member

Can anyone provide the xml code to display the text or Legend at the bottom of the pie chart panel?
Text to be displayed : "Foo"-Yellow color ; "Foo1"-Blue color; "Foo3"-Green color.

Tags (3)
0 Karma

sideview
SplunkTrust
SplunkTrust

I think you just need to set charting.legend.placement to "bottom"

In Sideview Utils XML,

<module name="ValueSetter">
   <param name="arg.charting.legend.placement">bottom</param>

In Advanced XML:

<module name="HiddenChartFormatter">
  <param name="charting.legend.placement">bottom</param>

And in simple XML, I believe you would add this to your ``

 <option name="name">charting.legend.placement</option>
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

You may need to elaborate what you've already tried, what you specifically need, and how your attempts are failing to do what you need.

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...