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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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