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!

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...