Splunk Search

Turn the date on a graph

hartfoml
Motivator

I have a graph that is showing data by date over the last 30 days. I have converted timeformat down to "%m/%d. Even with this small date format it is hard to read the date when I squash 30 days on the chart. I would also like to show the "%a" short day format so people can see the weekend days.

My question is how to I turn the date on the x axis so it is printed vertically rather that horizontally so it is more readable?

Tags (2)
0 Karma

imrago
Contributor

To rotate the labels, in the advanced xml you could add the following parameter to HiddenChartFormatter module

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

This might not be supported in JSChart.

0 Karma

imrago
Contributor

My previous suggestion did not work, because JSChart was used by simplified xml.

Please try the following where you will get flash based chart :



Splunk Licence Use Over 30 Days
Splunk Licence Use Over 30 Days
line
1
90

0 Karma

hartfoml
Motivator

Thanks so much for the help. this code looks like it should work but it doesn't. if you can think of anything else let me know.

Hope to see you at the Users .conf next week. Thanks again

0 Karma

imrago
Contributor

in case that you are using simplified xml that line would be

90

so try this:



Splunk Licence Use Over 30 Days
Splunk Licence Use Over 30 Days
line
90

0 Karma

hartfoml
Motivator

Thanks for the help

Here is what I have that is not working



Splunk Licence Use Over 30 Days
Splunk Licence Use Over 30 Days
line
90

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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