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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...