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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...