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!

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 ...