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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...