Splunk Search

using depends + tokens + chart not spaning the full dashboard/screen width after checking checkbox

HattrickNZ
Motivator

I am using a checkbox to show/hide multiple rows. I have some rows that have a single chart that spans the full width of the screen.
But when I load the dashboard, the charts in question are hiding, and when I tick the check box to show the charts/rows, the charts appear but they only span half the width of the screen, aligned to the left.

I can do a refresh on the panel/chart and the chart will refresh and then span the full width of the screen.

How do I rectify this so that when the charts show they show at the full screen with.

this is my skeleton below:

<form>
<label>dashboard name</label>

<row>
    <panel>
        <input type="checkbox" token="show_more_token" searchWhenChanged="true">
        <choice value="show more details">show more details</choice>
        </input>
    </panel>
</row>

<row depends="$show_more_token$">
    <panel>
         <chart>

         ...

         </chart>
</panel>
</row>

<row depends="$show_more_token$">
    <panel>
         <chart>

         ...

         </chart>
    </panel>
</row>
<row depends="$show_more_token$">
 <panel>
     <chart>

     ...

     </chart>
 </panel>
</row>
</form>

test

0 Karma

HattrickNZ
Motivator

have splunk 6.3 now and this seems to have fixed this.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...