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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...