All Apps and Add-ons

Sideview Utils: Is it possible to wrap the text in the X-axis labels of a chart in Splunk 5.2?

Path Finder


I've been trying to find the solution to my problem, but I haven't seen any question/answer to this. I might be overlooking the correct property in the module reference documentation.

Question is: is it possible to wrap the text in the X axis labels of a chart? Some elements in the X axis have a long name and I want the user to be able to see it entirely.

I'm using Splunk 5.2 + sideview utils + HiddenChartFormatter + FlashChart (Advaced XML).


I'm not sure if this is supported in 5.x and you'll have to convert it from simple XML -> advanced XML to test, but in 6.x you could do:

<option name="charting.axisLabelsX.majorLabelStyle.rotation">90</option>

Alternatively, could you convert your chart to bar instead of column and give it its own row?

0 Karma

Path Finder

Thanks for answering. I already tried that a while ago:

<param name="charting.axisLabelsX.majorLabelStyle.rotation">-90</param>

The thing is that, by doing that and as my chart module has a fixed height, the chart narrows a lot using (too much) space for the label to be shown. And no, using a bar chart instead is not a possible solution in my case. Nevertheless, thanks for your ideas 🙂

0 Karma