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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...