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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...