Dashboards & Visualizations

How to hide/unhide detail panel in dashboard?

Keerthi
Path Finder

Hi All,
i am just struck at a point where when i select particular data in the pie chart , there is a detail information table created in another panel in tabular form. but i need that panel to hide and unhide when selected and cleared. as per  the screenshot there is no selection made in the pie chart so the detail panel at the bottom of the pie chart shouldn't be seen. it must be visible when there is selection made. kindly help!!!!!Keerthi_0-1686571202422.png

 

Labels (3)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Assuming Classic dashboard, you can add a depends attribute to the row or panel

<row depends="$tokenname$")

In this way, the row is only visible while the token (tokenname) is defined. To hide the row, depending on how you have set the token, you may need to unset the token.

0 Karma

Keerthi
Path Finder

i am half way now 🙂 
now the panel hides before any selection is made and the panel displays only when there is any selection. But i am struck where the detail panel is not hiding when some other pie chart is clicked. 

Keerthi_0-1686573424242.png

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You will have to modify the other pie charts so that they unset the token when they are clicked

0 Karma
Get Updates on the Splunk Community!

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...