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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...