<?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 create scatter chart through macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/create-scatter-chart-through-macro/m-p/296729#M110061</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;&lt;/P&gt;&lt;P&gt;How can we create an new scatter chart in &lt;STRONG&gt;macro &lt;/STRONG&gt;by providing Dimensions and Expressions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my current app's i provided two Buttons, first button when i click that it should create a new sheet and in that new sheet scatter chart should create.&lt;/P&gt;&lt;P&gt;And when second button i click then it should delete the recently created scatter chart object and sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2011 15:32:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-13T15:32:53Z</dc:date>
    <item>
      <title>create scatter chart through macro</title>
      <link>https://community.qlik.com/t5/QlikView/create-scatter-chart-through-macro/m-p/296729#M110061</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;&lt;/P&gt;&lt;P&gt;How can we create an new scatter chart in &lt;STRONG&gt;macro &lt;/STRONG&gt;by providing Dimensions and Expressions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my current app's i provided two Buttons, first button when i click that it should create a new sheet and in that new sheet scatter chart should create.&lt;/P&gt;&lt;P&gt;And when second button i click then it should delete the recently created scatter chart object and sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 15:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-scatter-chart-through-macro/m-p/296729#M110061</guid>
      <dc:creator />
      <dc:date>2011-12-13T15:32:53Z</dc:date>
    </item>
    <item>
      <title>create scatter chart through macro</title>
      <link>https://community.qlik.com/t5/QlikView/create-scatter-chart-through-macro/m-p/296730#M110062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; This is one of eighteen sample scripts from the API Guide:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.Activesheet.CreateScatterChart&lt;/P&gt;&lt;P&gt;chart.AddDimension "Customer"&lt;/P&gt;&lt;P&gt;chart.AddDimension "ProductType"&lt;/P&gt;&lt;P&gt;chart.AddExpression "avg(Amount)"&lt;/P&gt;&lt;P&gt;chart.AddExpression "avg(Price)"&lt;/P&gt;&lt;P&gt;cset col = ActiveDocument.GetApplication.GetSolidColorArea(255,0,0) 'red&lt;/P&gt;&lt;P&gt;chart.AddFractLine 0,0,col&lt;/P&gt;&lt;P&gt;set p = chart.GetProperties&lt;/P&gt;&lt;P&gt;set rl = p.ChartProperties.RefLines.Item(0)&lt;/P&gt;&lt;P&gt;rl.Fractile = true&lt;/P&gt;&lt;P&gt;rl.FractileLevel = 50&lt;/P&gt;&lt;P&gt;rl.Legend.v = "median"&lt;/P&gt;&lt;P&gt;rl.Color.PrimaryCol.Col = RGB(255,0,0)&lt;/P&gt;&lt;P&gt;rl.XAxis = true&lt;/P&gt;&lt;P&gt;rl.YAxis = true&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;chart.SetProperties p&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 15:47:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-scatter-chart-through-macro/m-p/296730#M110062</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2011-12-13T15:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: create scatter chart through macro</title>
      <link>https://community.qlik.com/t5/QlikView/create-scatter-chart-through-macro/m-p/296731#M110063</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;when i used your macro i is showing an error Type Mismatch in below line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cset col = ActiveDocument.GetApplication.GetSolidColorArea(255,0,0) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;what i need to change in the above line not get the Type Mismatch error ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;﻿Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;venkat&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 07:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-scatter-chart-through-macro/m-p/296731#M110063</guid>
      <dc:creator />
      <dc:date>2011-12-14T07:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: create scatter chart through macro</title>
      <link>https://community.qlik.com/t5/QlikView/create-scatter-chart-through-macro/m-p/296732#M110064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; cset should just be set&lt;/P&gt;&lt;P&gt;You should look at the other 17 sample scripts in the API Guide. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 11:56:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-scatter-chart-through-macro/m-p/296732#M110064</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2011-12-14T11:56:34Z</dc:date>
    </item>
  </channel>
</rss>

