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!

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...