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 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...