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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...