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
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...