Dashboards & Visualizations

How to modify the size of chart in dashboard?

jdagenais
Explorer

I would like to reduce the size of the chart in the dashboards (Splunk 4.1.5) to add more charts.

I am using the default xml like:

<?xml version='1.0' encoding='utf-8'?> <dashboard>   <!-- NOTE: This file was automatically generated by Splunk.  Use caution when editing manually.
-->   <label>Today's Metric</label>   <row>
    <chart>
      <searchName>Report - Save Reference Transaction - Count</searchName>
      <title>Save Reference Transaction - Count</title>
      <option name="drilldown">all</option>
    </chart>
    <chart>
      <searchName>Report - Save Reference Transaction - RT</searchName>
      <title>Save Reference Transaction - RT</title>
      <option name="drilldown">all</option>
    </chart>   </row> </dashboard>
Tags (1)

ziegfried
Influencer

You can add the width and height options to charts:

<chart>
...
  <option name="width">50px</option>
  <option name="height">50px</option>
...
</chart>

Although you won't be able add more than 4 (IIRC) elements in a row.

sistemistiposta
Path Finder

I downvoted this post because this doesn't work... or it doesn't work no more.
chart doesn't allow width.

0 Karma
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

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