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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...