Dashboards & Visualizations

Chart ellipsis issue

Ant1D
Motivator

Hey,

I am trying to change the following default behaviour spotted on charts in my Splunk instance:

alt text

Sometimes when a chart has many cells in it, the cell labels change so that you cannot see the name of the cells in their entirety. I want to be able to see the full name 'PQRST4' and not a name with an ellipsis in the middle 'P...4'.

How can I change the behaviour so that an ellipsis does not appear at all? Additionally, how could I change the alignment of a cell label so that it is not horizontal as shown above but it is say vertical instead or at a different angle where the ellipsis will not be seen?

Thanks in advance for your help.

Tags (2)
0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

I don't know if you can directly change those, but this might help:

http://www.splunk.com/base/Documentation/latest/Developer/CustomChartingConfig-ChartLegend#Legend

http://www.splunk.com/base/Documentation/latest/Developer/CustomChartingConfig-AxisGrid#Axis_labels

You could perhaps change the width of the bars, for example.

Update: Looks like you could control the ellipses, via the overflowMode property of the majorLabelStyle

View solution in original post

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

I don't know if you can directly change those, but this might help:

http://www.splunk.com/base/Documentation/latest/Developer/CustomChartingConfig-ChartLegend#Legend

http://www.splunk.com/base/Documentation/latest/Developer/CustomChartingConfig-AxisGrid#Axis_labels

You could perhaps change the width of the bars, for example.

Update: Looks like you could control the ellipses, via the overflowMode property of the majorLabelStyle

0 Karma

Ant1D
Motivator

Thanks gkanapathy. I have managed to find a different property that works for me at the moment.

0 Karma

cjj1977
Path Finder

Out of interest, what property did you find/use?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Developer Spotlight with Mika Borner

From Hackathon Winner to Enterprise Leader    Mika Borner, CEO and Founder of Datapunctum AG, has been ...

Continue Your Federation Journey: Join Session 3 of the Bootcamp Series

To help practitioners build a stronger foundation, we launched the Data Management & Federation ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...