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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...