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!

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 ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...