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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...