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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...