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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...