Splunk Search

X axis label Rotation in JSchart

ZaugustZ
Explorer

Hi EveryOne,

Newbie here, I just wanted to know how to change the orientation of x-axis labels in splunk 5?
I tried changing the JSCHART to FLASHCHART and add this "90" it's almost perfect but the chart is ruined in Flashchart.
So i turned it back to JSCHART, so my question is how can i change the x-axis labels orientation? Please help me Thanks in Advance!.

Tags (1)

ChandruPerumal
New Member

Hi...I will explain how to rotate x axis name using JSCharts. We could rotate X axis label using true or false option. By default the value is false. you can use myChart.setAxisNameY('X Axis name',true);. Your x axis name will be rotate 90 degrees.

If you didn't give true option by default it will take as false. So you need to change to rotate x axis name.

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