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.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...