Dashboards & Visualizations

Is it possible to set a fixed size of graphs in Splunk?

ashish9433
Communicator

Hi Team,

Is it possible to set the x and y sizes of a graph in Splunk, so that it is of a "fixed" size regardless of the browser window size? There are a number of graphs I would like to have as fixed size or at worst fixed ratio.

0 Karma
1 Solution

cmerriman
Super Champion

to get a static height for a chart, this is the option for simpleXML. default value is 250, but range is 100 - 1000

<option name="height">xxx</option>

not sure on width.

View solution in original post

aaraneta_splunk
Splunk Employee
Splunk Employee

Hi @ashish9433 - Did one of the answers below help provide a solution your question? If yes, please click “Accept” below the best answer to resolve this post. If no, please leave a comment with more feedback. Thanks.

0 Karma

niketn
Legend

Check out Layout Customization: Panel Width in Splunk 6.x Dashboard Examples App. This example is to set you get started with use of CSS and JavaScript to control various panel width, like 20%, 20% and 60% distribution of a row between three panels.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

ashish9433
Communicator

Thanks for the info @niketnilay

0 Karma

cmerriman
Super Champion

to get a static height for a chart, this is the option for simpleXML. default value is 250, but range is 100 - 1000

<option name="height">xxx</option>

not sure on width.

ashish9433
Communicator

Thanks @cmerriman

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...