# Click on image icon to show/hide tooltip

**URL:** <https://community.amazonquick.com/t/click-on-image-icon-to-show-hide-tooltip/29181>\
**Category:** Q&A\
**Tags:** qls-community, developer, quick-sight\
**Created:** [April 29, 2024, 3:18pm UTC](https://community.amazonquick.com/t/click-on-image-icon-to-show-hide-tooltip/29181 "2024-04-29T15:18:04Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shawkath\_Khan](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@Shawkath\_Khan](https://community.amazonquick.com/u/Shawkath_Khan)\
**Post date:** [April 29, 2024, 3:18pm UTC](https://community.amazonquick.com/t/click-on-image-icon-to-show-hide-tooltip/29181/1 "2024-04-29T15:18:04Z")

</div>

We are trying to show the tooltip (text-only information) upon clicking on the info icon(.png) next to the title in the free-form Quick Sight analysis.

I have read [this thread](https://community.amazonquick.com/t/how-to-add-a-tooltip-which-displays-simple-text-on-visual-while-hovering/26385/2) that explains how to use a string parameter to pass a yes/no value to through actions which can hide/show the text container.

[Arena Demo of the above-mentioned approach](https://community.amazonquick.com/t/how-to-add-a-tooltip-which-displays-simple-text-on-visual-while-hovering/26385/4#Arena-dashboardId=d7b7ab39-f3d5-4a0b-9e15-5747c811fc6a&authorId=CU-9267)

In my use case, I am trying to have the user click on the info icon next to the title of the chart, which shows/hides a tiny text container to show more details of the chart.

\*\*EXPECTED RESULT HERE: \*\*  
A green info icon is clicked and the tooltip shows the help text

 ![calls](https://d1wl4jav5dp96l.cloudfront.net/original/3X/9/b/9bba584c8860022876797ab39e7c2b261630009a.png)

---

<div class="post-metadata">

**Author:** ![ErikG](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/erikg/32/14524_2.png) [@ErikG](https://community.amazonquick.com/u/ErikG)\
**Post date:** [April 29, 2024, 6:37pm UTC](https://community.amazonquick.com/t/click-on-image-icon-to-show-hide-tooltip/29181/2 "2024-04-29T18:37:29Z")

</div>

Hi @Shawkath_Khan  
You would need the same info icon twice.  
i(1) will show Infobox & i(2) and hide itself  
i(2) will hide infobox & itself and show i(1)  
BR

---

<div class="post-metadata">

**Author:** ![Shawkath\_Khan](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@Shawkath\_Khan](https://community.amazonquick.com/u/Shawkath_Khan)\
**Post date:** [April 29, 2024, 6:51pm UTC](https://community.amazonquick.com/t/click-on-image-icon-to-show-hide-tooltip/29181/3 "2024-04-29T18:51:50Z")

</div>

Hi @ErikG,

Could you please elaborate on the solution? I cant follow you.

---

<div class="post-metadata">

**Author:** ![ErikG](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/erikg/32/14524_2.png) [@ErikG](https://community.amazonquick.com/u/ErikG)\
**Post date:** [April 30, 2024, 6:41pm UTC](https://community.amazonquick.com/t/click-on-image-icon-to-show-hide-tooltip/29181/4 "2024-04-30T18:41:10Z")

</div>

You need two info buttons as you can’t set two different parameter values with just on.

Let’s say the info box is show with parameter value 1 and hide by value 0.

Therefore you would need two button with navigation action and a parameter change.

As you don’t want to see both button at the same time you would need to hide/show each other.

---

<div class="post-metadata">

**Author:** ![ErikG](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/erikg/32/14524_2.png) [@ErikG](https://community.amazonquick.com/u/ErikG)\
**Post date:** [May 21, 2024, 7:44am UTC](https://community.amazonquick.com/t/click-on-image-icon-to-show-hide-tooltip/29181/5 "2024-05-21T07:44:06Z")

</div>

Hi @Shawkath_Khan  
could you solve your issue?  
BR

---

<div class="post-metadata">

**Author:** ![Shawkath\_Khan](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@Shawkath\_Khan](https://community.amazonquick.com/u/Shawkath_Khan)\
**Post date:** [May 23, 2024, 3:45pm UTC](https://community.amazonquick.com/t/click-on-image-icon-to-show-hide-tooltip/29181/6 "2024-05-23T15:45:45Z")

</div>

I am sorry for not answering your post, I really couldn’t understand the solution offered here, Erik.

---

<div class="post-metadata">

**Author:** ![ErikG](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/erikg/32/14524_2.png) [@ErikG](https://community.amazonquick.com/u/ErikG)\
**Post date:** [May 26, 2024, 8:57pm UTC](https://community.amazonquick.com/t/click-on-image-icon-to-show-hide-tooltip/29181/7 "2024-05-26T20:57:35Z")

</div>

@Shawkath_Khan ok I will try to make a sample.

---

<div class="post-metadata">

**Author:** ![ErikG](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/erikg/32/14524_2.png) [@ErikG](https://community.amazonquick.com/u/ErikG)\
**Post date:** [May 27, 2024, 8:59am UTC](https://community.amazonquick.com/t/click-on-image-icon-to-show-hide-tooltip/29181/8 "2024-05-27T08:59:24Z")

</div>

Hi @Shawkath_Khan  
please check [Hide/Show Button](https://community.amazonquick.com#Arena-dashboardId=35ff02cd-a5bb-40b8-89ec-d1cacb1cabf4&authorId=CU-9267)

---

<div class="post-metadata">

**Author:** ![Xclipse](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/xclipse/32/20455_2.png) [@Xclipse](https://community.amazonquick.com/u/Xclipse)\
**Post date:** [June 1, 2024, 3:16am UTC](https://community.amazonquick.com/t/click-on-image-icon-to-show-hide-tooltip/29181/9 "2024-06-01T03:16:52Z")

</div>

Hi @Shawkath_Khan, I am marking this reply as, “Solution,” in case you need further assistance with your problem, please create a sample dashboard with sample dataset showing your problem state using Arena and please create a new post, so we can look at it from a fresh perspective. (Details on using Arena can be found here - [Quick Sight Arena](https://community.amazonquick.com/t/quicksight-arena-an-embedded-instance-of-quicksight-within-the-quicksight-community/21437))

---

<div class="post-metadata">

**Author:** ![Xclipse](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/xclipse/32/20455_2.png) [@Xclipse](https://community.amazonquick.com/u/Xclipse)\
**Post date:** [June 1, 2024, 3:17am UTC](https://community.amazonquick.com/t/click-on-image-icon-to-show-hide-tooltip/29181/10 "2024-06-01T03:17:01Z")

</div>

Archived on June 1, 2024, 3:17am UTC


