<?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: Relative object position in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390237#M145592</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 had this issue too, and could resolve it with macro code bellow.&lt;/P&gt;&lt;P&gt;This code, evaluates the height of the table object, and sets the top of the graph that has to move its position depending on quantity of preceding rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has worked fine for me, and hopes that help to you too..&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Javier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub AjustaGrafico&lt;/P&gt;&lt;P&gt;&amp;nbsp; set Tabla = ActiveDocument.GetSheetObject("CH03") 'Table&lt;/P&gt;&lt;P&gt;&amp;nbsp; set Grafico = ActiveDocument.GetSheetObject("CH08") 'Graph&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set PosTabla = Tabla.GetRect&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set PosGrafico = Grafico.GetRect&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; Cabezal = 22&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Pie = 10&lt;/P&gt;&lt;P&gt;&amp;nbsp; Fila = 16 'cell.LineHeight&lt;/P&gt;&lt;P&gt;&amp;nbsp; Cnt = Tabla.GetRowCount&lt;/P&gt;&lt;P&gt;&amp;nbsp; Alto = Cabezal + Pie + (Cnt * Fila)&lt;/P&gt;&lt;P&gt;&amp;nbsp; PosGrafico.Top = PosTabla.Top + Alto&lt;/P&gt;&lt;P&gt;&amp;nbsp; Grafico.SetRect PosGrafico&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Diarios.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/58794_Diarios.png" style="width: 620px; height: 244px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Avisos.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/58791_Avisos.png" style="width: 620px; height: 260px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2014 21:54:51 GMT</pubDate>
    <dc:creator>jburstin</dc:creator>
    <dc:date>2014-05-13T21:54:51Z</dc:date>
    <item>
      <title>Relative object position</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390230#M145585</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 two pivot tables, one below the other. The one above can be longer or shorter but I need the other keeps allways the same distance to the other. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 12:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390230#M145585</guid>
      <dc:creator />
      <dc:date>2013-01-03T12:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Relative object position</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390231#M145586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Caption tab u have Xpos, YPos, height, Width.... Keep same for both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 12:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390231#M145586</guid>
      <dc:creator>khadeer</dc:creator>
      <dc:date>2013-01-03T12:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Relative object position</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390232#M145587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I made a horrible traslation, I meant I need to keep constant the distance between both tables, so the second one moves depending on the first one size.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 12:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390232#M145587</guid>
      <dc:creator />
      <dc:date>2013-01-03T12:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Relative object position</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390233#M145588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i can not get you exactly..can you explain it with attached image?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 12:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390233#M145588</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-01-03T12:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Relative object position</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390234#M145589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example , I want the table 'EBITDA' situated one centimeter below the table 'RESULTADOS' no matter how many rows can 'RESULTADOS' have. Allways one centimeter below.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="28413" class="jive-image-thumbnail jive-image" onclick="" alt="tables.png" src="https://community.qlik.com/legacyfs/online/28413_tables.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 12:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390234#M145589</guid>
      <dc:creator />
      <dc:date>2013-01-03T12:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Relative object position</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390235#M145590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is only possible per macro. Read the size from table1 and set table2&amp;nbsp; x&amp;nbsp; pixels below. See the examples like below in APIGuide.qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rem ** move all objects on active sheet 20 pixels down and 15 right **&lt;/P&gt;&lt;P&gt;set sh = ActiveDocument.ActiveSheet &lt;/P&gt;&lt;P&gt;for i = 0 to sh.NoOfSheetObjects-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set obj = sh.SheetObjects(i)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pos = obj.GetRect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pos.Top = pos.Top + 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pos.Left = pos.Left + 15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.SetRect pos&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 13:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390235#M145590</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-01-04T13:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Relative object position</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390236#M145591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much but is too complicated for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is very dissapointing that QV are not able to do something so simple using basic user tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 15:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390236#M145591</guid>
      <dc:creator />
      <dc:date>2013-01-04T15:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Relative object position</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390237#M145592</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 had this issue too, and could resolve it with macro code bellow.&lt;/P&gt;&lt;P&gt;This code, evaluates the height of the table object, and sets the top of the graph that has to move its position depending on quantity of preceding rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has worked fine for me, and hopes that help to you too..&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Javier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub AjustaGrafico&lt;/P&gt;&lt;P&gt;&amp;nbsp; set Tabla = ActiveDocument.GetSheetObject("CH03") 'Table&lt;/P&gt;&lt;P&gt;&amp;nbsp; set Grafico = ActiveDocument.GetSheetObject("CH08") 'Graph&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set PosTabla = Tabla.GetRect&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set PosGrafico = Grafico.GetRect&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; Cabezal = 22&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Pie = 10&lt;/P&gt;&lt;P&gt;&amp;nbsp; Fila = 16 'cell.LineHeight&lt;/P&gt;&lt;P&gt;&amp;nbsp; Cnt = Tabla.GetRowCount&lt;/P&gt;&lt;P&gt;&amp;nbsp; Alto = Cabezal + Pie + (Cnt * Fila)&lt;/P&gt;&lt;P&gt;&amp;nbsp; PosGrafico.Top = PosTabla.Top + Alto&lt;/P&gt;&lt;P&gt;&amp;nbsp; Grafico.SetRect PosGrafico&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Diarios.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/58794_Diarios.png" style="width: 620px; height: 244px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Avisos.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/58791_Avisos.png" style="width: 620px; height: 260px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 21:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/390237#M145592</guid>
      <dc:creator>jburstin</dc:creator>
      <dc:date>2014-05-13T21:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Relative object position</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/1642208#M447271</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry Guys to reply to this old post, but I'm wondering how to fix this issue in the web view. macro has solved the issue when using desktop , but when the report published on QlikView access point again charts positions are messed up.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nassim&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 20:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-object-position/m-p/1642208#M447271</guid>
      <dc:creator>qolkaram</dc:creator>
      <dc:date>2019-11-01T20:00:24Z</dc:date>
    </item>
  </channel>
</rss>

