Splunk Search

Bar chart width resize in Simple XML

dinesh_wadhwa
Engager

Hello,

I have created a vertical bar chart using Simple XML, My requirement is to fix the width of all the bars. I am using "5", but its not working in the below code. Please suggest

index= abc| stats count by Product


right
ellipsisMiddle
0
all
shiny
default
0.01
gaps
column
inherit
1
linear
linear
visible
visible
visible
0
ellipsisNone

Tags (5)
0 Karma

yvassilyeva
Path Finder

See if solution by @niketn helps. After your <panel> add this:

 .facets-container .viz-facet {
          height: 100px !important;
          width: 100px !important;
          float: left;
          padding: 10px 0px 0px 0px;
      } 

 

Also see his response here:
https://community.splunk.com/t5/All-Apps-and-Add-ons/Using-trellis-with-simple-XML-extension/m-p/367...

0 Karma

harshal_chakran
Builder

I guess in Advance XML you can do this.

Use this line

<param name="charting.chart.columnStyle.width">5</param>

0 Karma
Get Updates on the Splunk Community!

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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