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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...