Dashboards & Visualizations

Resize Bar Chart Lable Column

nikkkc
Path Finder

Hi,
Is it possible to resize the first Column of a BarChart? I am talking about the label of the bar. Because in some cases the labels are cropped... like the picture appendix, i would like to read the hole value text. Considered the overall width it should be 50% label and 50% bar.

thanks in advancealt text

Tags (1)
0 Karma

niketn
Legend

Refer to Splunk Chart Configuration reference on Splunk docs for various chart config options.

In your case you can set charting.legend.labelStyle.overflowMode to ellipsisNone. By default it is ellipsisMiddle.

Since your chart appearance depends on how axis data is plotted you might want to truncate legends which are too long. So see if ellipsisLeft or ellipsisRight could be used to show different legends.

<option name="charting.legend.labelStyle.overflowMode">ellipsisNone</option>
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

nikkkc
Path Finder

i tried all options but still cropped...

0 Karma

nikkkc
Path Finder

i guess the legend option is not that what i mean, i am talking about the sourcetype values! (see Picture) not about "sourcetype" or "count" as descirption

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...