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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...