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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...