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!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...