<?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: Bar graph vs stacked bar graph? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-graph-vs-stacked-bar-graph/m-p/741642#M1041876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make both charts. Then use a variable to show or hide the charts as needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Dec 2014 22:47:27 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2014-12-15T22:47:27Z</dc:date>
    <item>
      <title>Bar graph vs stacked bar graph?</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-graph-vs-stacked-bar-graph/m-p/741641#M1041875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to be able to toggle between a regular bar graph and a stacked bar graph. Is there a way do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 21:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-graph-vs-stacked-bar-graph/m-p/741641#M1041875</guid>
      <dc:creator />
      <dc:date>2014-12-15T21:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Bar graph vs stacked bar graph?</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-graph-vs-stacked-bar-graph/m-p/741642#M1041876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make both charts. Then use a variable to show or hide the charts as needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 22:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-graph-vs-stacked-bar-graph/m-p/741642#M1041876</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2014-12-15T22:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bar graph vs stacked bar graph?</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-graph-vs-stacked-bar-graph/m-p/741643#M1041877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can put this code in your Edit module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub ChangeChart()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set chart = ActiveDocument.GetSheetObject("NAME OF YOUR CHART")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set p = chart.GetProperties&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if p.ChartProperties.BarModeStacked = True then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p.ChartProperties.BarModeStacked = false&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p.ChartProperties.BarModeStacked = True &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End if &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.SetProperties p&lt;BR /&gt; End sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Then you can set a button and its action should point to this Macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Each click will toggle between stacked or grouped&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hope it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 01:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-graph-vs-stacked-bar-graph/m-p/741643#M1041877</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2014-12-16T01:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Bar graph vs stacked bar graph?</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-graph-vs-stacked-bar-graph/m-p/741644#M1041878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you plan to use a macro that calls chart.SetProperties in the Server environment, please take note of this warning from section 80.2 of the Ref Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The following types of functionality are not to be used in the QlikView Server environment , as they may&lt;/P&gt;&lt;P&gt;cause unexpected results:&lt;/P&gt;&lt;P&gt;- Layout operations acting on the properties of sheets and sheet objects via SetProperties"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 01:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-graph-vs-stacked-bar-graph/m-p/741644#M1041878</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-12-16T01:39:25Z</dc:date>
    </item>
  </channel>
</rss>

