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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...