<?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 Change the chart style on listbox selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-the-chart-style-on-listbox-selection/m-p/474737#M1137151</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 created a varible to store the value selected in the listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i am trying to do is to check if variable is not blank then chnage chart style to pie and if its blank change chart style to pie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Nov 2013 12:30:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-03T12:30:05Z</dc:date>
    <item>
      <title>Change the chart style on listbox selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-chart-style-on-listbox-selection/m-p/474737#M1137151</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 created a varible to store the value selected in the listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i am trying to do is to check if variable is not blank then chnage chart style to pie and if its blank change chart style to pie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Nov 2013 12:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-chart-style-on-listbox-selection/m-p/474737#M1137151</guid>
      <dc:creator />
      <dc:date>2013-11-03T12:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change the chart style on listbox selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-chart-style-on-listbox-selection/m-p/474738#M1137152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sub SetChartType&lt;/P&gt;&lt;P&gt;&amp;nbsp; set chart = ActiveDocument.GetSheetObject("CH01")&lt;/P&gt;&lt;P&gt;&amp;nbsp; intObjectType = chart.GetObjectType&lt;/P&gt;&lt;P&gt;&amp;nbsp; if intObjectType = 15 then&amp;nbsp;&amp;nbsp;&amp;nbsp; 'is currently a line chart&lt;/P&gt;&lt;P&gt;&amp;nbsp; chart.SetChartType&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp; chart.SetChartType&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;&amp;nbsp; end if&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just replace the fixed values with your variable. this code is copied from some earlier discussion which unfortunately I cannot find at the moment...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you can always use Fast Type Change from the chart properties instead of a macro...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Nov 2013 13:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-chart-style-on-listbox-selection/m-p/474738#M1137152</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2013-11-03T13:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change the chart style on listbox selection</title>
      <link>https://community.qlik.com/t5/QlikView/Change-the-chart-style-on-listbox-selection/m-p/474739#M1137153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about creating two different objects (chart and a pie) and using a conditional calc and show based on the variable value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 00:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-the-chart-style-on-listbox-selection/m-p/474739#M1137153</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2013-11-04T00:40:08Z</dc:date>
    </item>
  </channel>
</rss>

