Splunk Search

Labels at X- axis of line chart is not displayed properly

harshal_chakran
Builder

Hi,
I have created one line chart dashboard as shown below:-
alt text

As the data uploaded is of big size, the table is getting shrinked and I am not able to see the X axis properly.

Actual value supposed to be on X-axis is 0000-0015, 0015-0030.... BUT shown as 00...15, 00...30 & so on.

Is there any way to display complete text , also is there any scope of putting a scroll bar there?

following is the xml code for my dashboard:

<dashboard>
<label>xaxisbeark</label>
<description/>
<row>
<chart>
<searchString>........</searchString>
<earliestTime>0</earliestTime>
<latestTime>now</latestTime>
<option name="charting.axisTitleX.visibility">visible</option>
<option name="charting.axisTitleY.visibility">visible</option>
<option name="charting.axisX.scale">linear</option>
<option name="charting.axisY.scale">linear</option>
<option name="charting.chart">line</option>
<option name="charting.chart.nullValueMode">connect</option>
<option name="charting.chart.sliceCollapsingThreshold">0.01</option>
<option name="charting.chart.stackMode">default</option>
<option name="charting.chart.style">shiny</option>
<option name="charting.drilldown">all</option>
<option name="charting.layout.splitSeries">0</option>
<option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
<option name="charting.legend.placement">bottom</option>
<option name="charting.axisX.minimumNumber">20</option>
</chart>
</row>
</dashboard>

Kindly Help...!!!

Tags (3)
0 Karma
1 Solution

dpetzer
Explorer

Rotating your text might help.

Add this option.

<option name="charting.axisLabelsX.majorLabelStyle.rotation">90</option>

View solution in original post

0 Karma

dpetzer
Explorer

Rotating your text might help.

Add this option.

<option name="charting.axisLabelsX.majorLabelStyle.rotation">90</option>

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