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

niketnilay
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
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!