Dashboards & Visualizations

Hide and show panels on button click

test4u
Path Finder

Hi all,
I know how to hide and show panels using link switcher and radio buttons.
but if there is a html button and we have two two map in a single panel namely->map1,map2
if button is clicked map2 should be displayed otherwise map1 should be displayed.

How to achieve this.
Kindly help

Tags (1)
0 Karma
1 Solution

niketn
Legend

@test4u please check out one of my older answer around similar use case. Do read updated comments as well... As per requested change in the requirements.

https://answers.splunk.com/answers/581652/how-can-i-create-a-button-switcher.html

Please try out and confirm.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

0 Karma

niketn
Legend

@test4u please check out one of my older answer around similar use case. Do read updated comments as well... As per requested change in the requirements.

https://answers.splunk.com/answers/581652/how-can-i-create-a-button-switcher.html

Please try out and confirm.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...