<?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: Get chart coordinates via VBScript in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261122#M585243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this (don't forget to change your chart ID)? Perhaps store values in variables then put them in a text box positioned on the graph with layer = top?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;sub getCoords&lt;/P&gt;&lt;P&gt; set doc=ActiveDocument&lt;/P&gt;&lt;P&gt; set chart = ActiveDocument.GetSheetObject("CH33")&lt;/P&gt;&lt;P&gt; chartX = chart.GetProperties.GraphLayout.Frame.Rect.Left&lt;/P&gt;&lt;P&gt; chartY =&amp;nbsp; chart.GetProperties.GraphLayout.Frame.Rect.Top&lt;/P&gt;&lt;P&gt; msgbox("x=" &amp;amp; chartX &amp;amp; ",y=" &amp;amp; chartY)&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2011 13:55:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-14T13:55:00Z</dc:date>
    <item>
      <title>Get chart coordinates via VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261121#M585242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi to all, &lt;/P&gt;&lt;P&gt;in these days I'm facing to this problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scatter chart with two expressions as coordinates. &lt;/P&gt;&lt;P&gt;What I want to do is to get the values of the coordinates on the chart showed in the bottom left corner of QlikView screen. &lt;/P&gt;&lt;P&gt;In the attached image you can see the information I need. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a VBSript function or something like that, that can give me back this information, please? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help. &lt;/P&gt;&lt;P&gt;Best regards, &lt;/P&gt;&lt;P&gt;Mario Masciulli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 11:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261121#M585242</guid>
      <dc:creator />
      <dc:date>2011-09-14T11:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get chart coordinates via VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261122#M585243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this (don't forget to change your chart ID)? Perhaps store values in variables then put them in a text box positioned on the graph with layer = top?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;sub getCoords&lt;/P&gt;&lt;P&gt; set doc=ActiveDocument&lt;/P&gt;&lt;P&gt; set chart = ActiveDocument.GetSheetObject("CH33")&lt;/P&gt;&lt;P&gt; chartX = chart.GetProperties.GraphLayout.Frame.Rect.Left&lt;/P&gt;&lt;P&gt; chartY =&amp;nbsp; chart.GetProperties.GraphLayout.Frame.Rect.Top&lt;/P&gt;&lt;P&gt; msgbox("x=" &amp;amp; chartX &amp;amp; ",y=" &amp;amp; chartY)&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 13:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261122#M585243</guid>
      <dc:creator />
      <dc:date>2011-09-14T13:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get chart coordinates via VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261123#M585244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gordon, &lt;/P&gt;&lt;P&gt;thanks for your answer but what I was looking for is the couple of values related to the movement of my mouse. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean, if I move on my scatter chart I see in the bottom left corner of QlikView two values changing, representing each one, one of the axis (x and y). &lt;/P&gt;&lt;P&gt;In the file attached, for example, the value I'm looking for is: 241.39899....&lt;/P&gt;&lt;P&gt;Do you know any way to get these values? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again. &lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 14:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261123#M585244</guid>
      <dc:creator />
      <dc:date>2011-09-14T14:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get chart coordinates via VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261124#M585245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all, &lt;/P&gt;&lt;P&gt;does anyone have some suggestion to my question please? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still facing the same problem and actually I'm not able to get the two values I see in the bottom left corner when I move on my scatter chart. &lt;/P&gt;&lt;P&gt;Any help is appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, regards,&lt;/P&gt;&lt;P&gt;Mario Masciulli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 16:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261124#M585245</guid>
      <dc:creator />
      <dc:date>2011-09-15T16:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get chart coordinates via VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261125#M585246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Up!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 08:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261125#M585246</guid>
      <dc:creator />
      <dc:date>2011-09-19T08:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get chart coordinates via VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261126#M585247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gordon - i believe the issue is that coordinates that are stored in Rect are not the same as those displayed by QV - in my case,&amp;nbsp; 373,297 are represented as 1167,926 - i.e. everything is multiplied by 3.12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea where does this translation come from?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 14:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261126#M585247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-21T14:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get chart coordinates via VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261127#M585248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mario - if your issue is the same as mine - i.e. different coordinate system between values shown in the UI and from Frame.Rect - then the solution is using object.GetRect directly, without going via Frame - then the values are correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 14:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-chart-coordinates-via-VBScript/m-p/261127#M585248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-21T14:32:46Z</dc:date>
    </item>
  </channel>
</rss>

