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
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...