Dashboards & Visualizations

Invalid Value of argument 'display.visualizations.charting.legend.labelStyle.overflowMode'?

HeinzWaescher
Motivator

Hi,

I would like to use this type of configuration in a dashboard:

<option name="charting.legend.labelStyle.overflowMode">ellipsisNone</option>

But after that, it is not possible to do changes like changing the cron schedule because of this error:

In handler 'savedsearch': Value of argument 'display.visualizations.charting.legend.labelStyle.overflowMode' must be either 'ellipsisEnd', 'ellipsisMiddle', or 'ellipsisStart'

BR

Heinz

Tags (1)

ngatchasandra
Builder

Hi Heinz,

The value you provide is invalid as reporting the error. This values must be ellipsisEnd, ellipsisMiddle, or'ellipsisStart .

The value you provide is valid for :

<option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option> 

This is an code example who take the options both :

<dashboard>
  <label>Storwize Pool Stats</label>
  <description/>
  <row>
    <panel>
      <chart>
        <title>InternalPool1</title>
        <searchString>source="/opt/splunk/bin/scripts/v37001pools" InternalPool1 | eval usedgb=((used_capacity/1024)/1024/1024) | eval capgb=((capacity/1024)/1024/1024) | timechart max(usedgb) as UsedSpace(GB),max(capgb) as MaxSpace(GB)</searchString>
        <earliestTime>0</earliestTime>
        <latestTime/>
        <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
        <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
        <option name="charting.axisTitleX.visibility">visible</option>
        <option name="charting.axisTitleY.visibility">visible</option>
        <option name="charting.axisTitleY2.visibility">visible</option>
        <option name="charting.axisX.scale">linear</option>
        <option name="charting.axisY.scale">linear</option>
        <option name="charting.axisY2.enabled">false</option>
        <option name="charting.axisY2.scale">inherit</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">none</option>
        <option name="charting.layout.splitSeries">0</option>
        <option name="charting.legend.labelStyle.overflowMode">ellipsisEnd</option>
        <option name="charting.legend.placement">right</option>
        <option name="charting.seriesColors">[0x00CC00,0xFF0000]</option>
        <option name="charting.axisTitleX.text">Date</option>
        <option name="charting.axisTitleY.text">CapacityGB</option>
      </chart>
    </panel>
  </row>
</dashboard>
0 Karma

HeinzWaescher
Motivator

Hm the documentation says it can be user for this property...

http://docs.splunk.com/Documentation/Splunk/6.2.2/Viz/ChartConfigurationReference

charting.legend.labelStyle.overflowMode (ellipsisEnd | ellipsisMiddle | ellipsisNone | ellipsisStart) ellipsisMiddle Determines how to display labels that overflow layout bounds by replacing elided text with an ellipsis (...).

0 Karma
Get Updates on the Splunk Community!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...