Dashboards & Visualizations

useless pie chart format options

dianbo_1
Path Finder

Hi,

I want to gererate a pie chart, and use the following lines. But I find some options are useless.

  1. legend.placement=top. There is no legend in the chart.
  2. charting.sliceCollapsingThreshold=0.2. It always uses the default value 0.01.
  3. charting.sliceCollapsingLabel=Other User. It displays the dafault value "Other".

Is this a bug or i missed something? Is the option name in advanced view "charting. XXXX" or "charting.PieChart.XXXX"?

Thanks & Regards,

Dianbo

<module name="HiddenSearch" autoRun="False" layoutPanel="panel_row2_col1">
<param name="search">index="loglog" | stats count by user | sort -count </param>
<module name="HiddenChartFormatter">
<param name="chart">pie</param>
<param name="primaryAxisTitle.text">Pie Chart Test</param>
<param name="secondaryAxisTitle.text">Count</param>
<param name="legend.placement">top</param>
<param name="charting.sliceCollapsingThreshold">0.2</param>
<param name="charting.sliceCollapsingLabel">AAAAA</param>
<module name="JobProgressIndicator"/>
<module name="FlashChart">
                                                <param name="width">100%</param>
                                                <param name="height">400px</param>
                                                <module name="ConvertToDrilldownSearch">
<module name="ViewRedirector">
    <param name="popup">True</param>
    <param name="viewTarget">ipop_advanced_search_all</param>
</module>
</module>
</module>
</module>
</module>
Tags (1)

sgundeti
Path Finder

this works for me on Splunk 5.0.5:

<param name="charting.chart.sliceCollapsingThreshold">0</param> OR 
<param name="charting.chart.sliceCollapsingThreshold">0.00</param>

and this don't

<option name="charting.chart.sliceCollapsingThreshold">0</option>
0 Karma

skeetermurphy
Engager

It looks like it might actually be "charting.chart.sliceCollapsingThreshold" now.

gkanapathy
Splunk Employee
Splunk Employee

The parameter names should be:

  • charting.legend.placement
  • charting.chart.PieChart.sliceCollapsingThreshold
  • charting.chart.PieChart.sliceCollapsingLabel

dianbo_1
Path Finder

thank you for your reply, even so, it does not take effect.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

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 ...