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?

kikexclusive
Path Finder

Hi,

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).

masonmorales
Influencer

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

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

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...