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!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...