<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How i can Add tooltip to panel on a hover in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487444#M31944</link>
    <description>&lt;P&gt;Hi @niketnilay  Thanks for your help I was trying this answer before posting but for me, it was not working that's why I have posted my XML code.&lt;BR /&gt;
Could you pls help me I want to use in XML only since i am a power user and don't have admin access.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Apr 2020 05:08:50 GMT</pubDate>
    <dc:creator>hrs2019</dc:creator>
    <dc:date>2020-04-27T05:08:50Z</dc:date>
    <item>
      <title>How i can Add tooltip to panel on a hover</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487440#M31940</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;
How i can Add tooltip to a panel on a hover so that if i select in panel anywhere it shows the tooltip.&lt;BR /&gt;
now it is showing only when I click count but my requirement is wherever I will select in the panel its will shows the message.&lt;/P&gt;

&lt;P&gt;i have used below XML &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard theme="dark"&amp;gt;
  &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel id="panel1"&amp;gt;
      &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;
      &amp;lt;html&amp;gt;
         &amp;lt;style&amp;gt;

           }
           .custom-tooltip:hover:after{
             background: #33323 ;
             background: rgba(0,0,0,.8) ;
             border-radius: 5px ;
             bottom: 26px ;
             color: #fff ;
             content: attr(title) ;
             left: 20% ;
             padding: 5px 15px ;
             position: absolute ;
             z-index: 98;
             width: 220px;
         }

         &amp;lt;/style&amp;gt;
         &amp;lt;a title="These are high severity Count. Click on the count to view the details." class="custom-tooltip"&amp;gt;Count&amp;lt;/a&amp;gt;
       &amp;lt;/html&amp;gt;
      &amp;lt;single&amp;gt;
        &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;|inputlookup TEST1001.csv 
| eval count = if(ProjectName="CNB", "200", count) 
| eval count = if(ProjectName="PPN", "400", count)
| eval count = if(ProjectName="LLP", "400", count)
| eval count = if(ProjectName="DDF", "600", count)
| stats sum(count) as Tottle&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;done&amp;gt;
            &amp;lt;set token="tokToolTipText1"&amp;gt;Tooltip1: Search returned $job.Tottle$ Results!&amp;lt;/set&amp;gt;
          &amp;lt;/done&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="colorMode"&amp;gt;block&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x53a051","0x0877a6","0xf8be34","0xf1813f","0xdc4e41"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="useColors"&amp;gt;1&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8801i78C8647F637BCF3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Apr 2020 17:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487440#M31940</guid>
      <dc:creator>hrs2019</dc:creator>
      <dc:date>2020-04-26T17:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: How i can Add tooltip to panel on a hover</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487441#M31941</link>
      <description>&lt;P&gt;@hrs2019 refer to one of my older answers: &lt;A href="https://answers.splunk.com/answers/236389/adding-tooltip-to-panel-on-a-hover.html"&gt;https://answers.splunk.com/answers/236389/adding-tooltip-to-panel-on-a-hover.html&lt;/A&gt; , will require Simple XML JS extension to handle panel hover event and setting/unsetting tokens based on the same!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 04:44:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487441#M31941</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-04-27T04:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: How i can Add tooltip to panel on a hover</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487442#M31942</link>
      <description>&lt;P&gt;Hi @niketnilay  your given link is not working for me. &lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 04:48:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487442#M31942</guid>
      <dc:creator>hrs2019</dc:creator>
      <dc:date>2020-04-27T04:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: How i can Add tooltip to panel on a hover</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487443#M31943</link>
      <description>&lt;P&gt;There is a comma at the end of the link, remove that comma and try it&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/236389/adding-tooltip-to-panel-on-a-hover.html"&gt;https://answers.splunk.com/answers/236389/adding-tooltip-to-panel-on-a-hover.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 05:03:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487443#M31943</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2020-04-27T05:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: How i can Add tooltip to panel on a hover</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487444#M31944</link>
      <description>&lt;P&gt;Hi @niketnilay  Thanks for your help I was trying this answer before posting but for me, it was not working that's why I have posted my XML code.&lt;BR /&gt;
Could you pls help me I want to use in XML only since i am a power user and don't have admin access.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 05:08:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487444#M31944</guid>
      <dc:creator>hrs2019</dc:creator>
      <dc:date>2020-04-27T05:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: How i can Add tooltip to panel on a hover</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487445#M31945</link>
      <description>&lt;P&gt;What was not working? Did you place JS file in the right location? Did you bump, refresh or restart Splunk (depending on environmental where you are trying)? Did you enable console logs in JS file to see whether you are getting any errors. Try manually setting/unsetting the token through dashboard code and see whether tooltip appears and hides as expected or not.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 05:25:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487445#M31945</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-04-27T05:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: How i can Add tooltip to panel on a hover</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487446#M31946</link>
      <description>&lt;P&gt;Hi @niketnilay they were a js issue in my code I fixed that now it is working fine.&lt;BR /&gt;
 Thank you so much for your help easy and simple is your solution.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 20:04:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-i-can-Add-tooltip-to-panel-on-a-hover/m-p/487446#M31946</guid>
      <dc:creator>hrs2019</dc:creator>
      <dc:date>2020-04-27T20:04:09Z</dc:date>
    </item>
  </channel>
</rss>

