Please share if you have simple xml tag for Pie chart label font size. I tried this below, but it did not work:
charting.chart.labelStyle.defaultTextFormat.size: 20
Yes you should be able to too using the following. It resembles they way you apply CSS win jquery.
<option name="charting.legend.labelStyle.defaultTextFormat">{italic:true,size:14}</option>
CustomChartingConfig-chartlegend
Cheers,
but what if we want to change the font size for the pie label?
http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/ChartConfigurationReference doesn't list this option.
http://docs.splunk.com/Documentation/Splunk/6.2.1/AdvancedDev/CustomChartingConfig-ChartLegend#Pie_c... lists it as not supported by JSChart, which would explain why the SimpleXML docs don't mention it at all.
thanks for sharing this, for some reasons the above options does not work for me. Could there be anything that i need to add?
<query></query>
<earliest>0</earliest>
<latest>now</latest>
</search>
<option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
<option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
<option name="charting.axisTitleX.visibility">visible</option>
<option name="charting.axisTitleY.visibility">visible</option>
<option name="charting.axisTitleY2.visibility">visible</option>
<option name="charting.legend.labelStyle.defaultTextFormat">{italic:true,size:20}</option>
<option name="charting.axisX.scale">linear</option>
<option name="charting.axisY.scale">linear</option>
<option name="charting.axisY2.enabled">false</option>
<option name="charting.axisY2.scale">inherit</option>
<option name="charting.chart">pie</option>
<option name="height">700px</option>
<option name="width">100%</option>
<option name="charting.drilldown">all</option>
I dont see anything wrong, but I also does know what else you apply. You may want try attaching your own css to the page for those elements.
Is it not possible without that css?
The setting I gave should work. If its not working it could be a bug in 6.2.1, but applying your own css always works.
Thank you very much for your time, i will add my own css and make this work for now.