<?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: Scrolling issue with chart tooltips in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091939#M4857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/215232"&gt;markwallington&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hypothetically, if you would have replaced "a(window)" in the qlik.js file by "a(document)", your tooltip would work correctly.&lt;/P&gt;&lt;P&gt;qlik.js can be normally found in C:\Program Files\Qlik\Sense\Client\js.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Alex&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Mar 2016 12:43:08 GMT</pubDate>
    <dc:creator>alextimofeyev</dc:creator>
    <dc:date>2016-03-18T12:43:08Z</dc:date>
    <item>
      <title>Scrolling issue with chart tooltips</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091936#M4854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue in a mashup page with graph tooltips that show on hover. In the image below, the mouse is hovered on the blue bar for 2014-04, but the tooltip appears higher up the page than it should. Normally it would be attached to the top of that bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue increases as I scroll down to charts lower down the mashup page, to the point where the tooltip no longer appears on the screen for a chart that is a long way down the page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something in the CSS styling that can be overriden to fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118310_Untitled.png" style="height: 383px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 20:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091936#M4854</guid>
      <dc:creator />
      <dc:date>2016-03-16T20:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling issue with chart tooltips</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091937#M4855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default, the CSS for the Capability APIs sets the html and body height to 100%, and scrolls on the overflow of body. This actually scrolls the content inside the body, but always keeps $("body").scrollTop() (or window.pageYOffset in vanilla js) at 0, so the page does not scroll like a normal webpage. It seems that you have overridden this, and that's why the tooltips show up higher than expected. Anytime $("body").scrollTop() != 0, the tooltips will not display correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 13:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091937#M4855</guid>
      <dc:creator>Francis_Kabinoff</dc:creator>
      <dc:date>2016-03-17T13:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling issue with chart tooltips</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091938#M4856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. You are correct that I have overriden the scrolling after seeing some other threads on that topic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CSS I used for that is below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any solution you can recommend?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to be able to scroll to not limit the number of objects we can put on one page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="css" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14582573876452031" jivemacro_uid="_14582573876452031"&gt;
&lt;P&gt;html{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; overflow-y: scroll;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;body{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; height: auto;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 23:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091938#M4856</guid>
      <dc:creator />
      <dc:date>2016-03-17T23:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling issue with chart tooltips</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091939#M4857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/215232"&gt;markwallington&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hypothetically, if you would have replaced "a(window)" in the qlik.js file by "a(document)", your tooltip would work correctly.&lt;/P&gt;&lt;P&gt;qlik.js can be normally found in C:\Program Files\Qlik\Sense\Client\js.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Alex&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 12:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091939#M4857</guid>
      <dc:creator>alextimofeyev</dc:creator>
      <dc:date>2016-03-18T12:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling issue with chart tooltips</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091940#M4858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The default CSS style that the client.css applies works, and is as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="css" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14583079048712678" jivemacro_uid="_14583079048712678"&gt;
&lt;P&gt;/* This is applied in the client.css file, or you can apply it yourself */&lt;/P&gt;
&lt;P&gt;html, body {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 100%;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;/* This is not applied in the client.css file, need to include this */&lt;/P&gt;
&lt;P&gt;body {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; overflow-y: scroll&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;/* I would also recommend including the below css, I have not tested&lt;/P&gt;
&lt;P&gt;** if it is necessary with 2.2, but with 2.1 and below it is needed&lt;/P&gt;
&lt;P&gt;** to scroll on mobile correctly&lt;/P&gt;
&lt;P&gt;*/&lt;/P&gt;
&lt;P&gt;body {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; touch-action: auto;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember though, this method actually doesn't scroll the webpage as it normally would, but scrolls the content inside the body. To a user there is seemingly no difference, but just be aware that window.pageYOffset will always equal 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 13:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091940#M4858</guid>
      <dc:creator>Francis_Kabinoff</dc:creator>
      <dc:date>2016-03-18T13:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling issue with chart tooltips</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091941#M4859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This solution seems to work, but it totally breaks the compatibility with all other scripts, that are using real page scroll offset. The fix with "&lt;EM&gt;replacing a(window) with a(document)&lt;/EM&gt;" seems to be a very nice idea. The only problem is, that the tooltip can appear below visible area, if the page is long and hover object is in the bottom of the screen:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Vi1irnI.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118760_Vi1irnI.png" style="height: 230px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;But it seems, that this can be also easy fixed, modifying Qlik code. Would be nice to get such a fix in &lt;SPAN style="font-size: 13.3333px;"&gt;Qlik &lt;/SPAN&gt;original source code &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 08:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091941#M4859</guid>
      <dc:creator />
      <dc:date>2016-03-21T08:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling issue with chart tooltips</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091942#M4860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I faced this same tool tip issue and i fixed using through CSS &amp;amp; simple jQuery.&lt;/P&gt;&lt;P&gt;I gave body tag Overflow : hidden; and added one div section&amp;nbsp; around our Qlik reports.&lt;/P&gt;&lt;P&gt;Calculate the window height and i gave this same height to this Div.&lt;/P&gt;&lt;P&gt;No i can see the tool tip with proper placement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vijayan M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 08:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Scrolling-issue-with-chart-tooltips/m-p/1091942#M4860</guid>
      <dc:creator />
      <dc:date>2017-02-17T08:56:04Z</dc:date>
    </item>
  </channel>
</rss>

