<?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: Qlikview charttype in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-charttype/m-p/476215#M177844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, technically it is possible with a macro. But it's easier to use two separate charts and show/hide them as needed. Charts that are hidden aren't calculated so they don't impact performance. On the Layout tab of the charts properties window you can enter an expression if you select the Conditional option. Something like =if(getselectedcount(Region)=1, 1, 0) for the line chart and =if(getselectedcount(Region)=1, 0, 1) for the scatter chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jun 2013 07:51:42 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-06-17T07:51:42Z</dc:date>
    <item>
      <title>Qlikview charttype</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-charttype/m-p/476213#M177842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if anyone knows if it is possible to change charttype based on selection. In my particular case I display a scatter plot but I want it to change to a line graph when the user zooms in. E.g, the scatter chart displays sales per region/time combination but as soon as the user selects a region the trend should be displayed as a line graph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 07:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-charttype/m-p/476213#M177842</guid>
      <dc:creator />
      <dc:date>2013-06-17T07:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview charttype</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-charttype/m-p/476214#M177843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can use a macro, fired off by a trigger on a change of the region (Settings&amp;gt;Document&amp;gt;Triggers) that contains commands like these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("CH01")&lt;/P&gt;&lt;P&gt;chart.SetProperties p&lt;/P&gt;&lt;P&gt;chart.SetChartType&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would avoid the use of macros though as they sometimes don't work on Ajax.&lt;/P&gt;&lt;P&gt;You could instead just create two charts and set the show condition to show one when the count(distinct Region)=1 or count(distinct Region)&amp;gt;1&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 07:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-charttype/m-p/476214#M177843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-17T07:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview charttype</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-charttype/m-p/476215#M177844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, technically it is possible with a macro. But it's easier to use two separate charts and show/hide them as needed. Charts that are hidden aren't calculated so they don't impact performance. On the Layout tab of the charts properties window you can enter an expression if you select the Conditional option. Something like =if(getselectedcount(Region)=1, 1, 0) for the line chart and =if(getselectedcount(Region)=1, 0, 1) for the scatter chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 07:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-charttype/m-p/476215#M177844</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-17T07:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview charttype</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-charttype/m-p/476216#M177845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's incredibly helpful Gysbert, thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more question though, how can I integrate both graphs in a container without having double the amount of tabs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 09:53:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-charttype/m-p/476216#M177845</guid>
      <dc:creator />
      <dc:date>2013-06-17T09:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview charttype</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-charttype/m-p/476217#M177846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's not going to happen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But since you now know how to show/hide objects you can use buttons or textboxes to show/hide the objects instead of putting them in a container. You can add a Set Variable action to a button or textbox to change the value of a variable and use the variable in the conditional expression of a chart. For example a variable vMyVariable that changes between 0 and -1 (i.e. False and True). Add a Set Variable action to the button, choose vMyVariable as variable and as value: =not vMyVariable. You can use the same variable to change the text on the button of textbox: =if(vMyVariable, 'Hide chart xx', 'Show chart xx').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives you much more flexibility than a container can.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 11:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-charttype/m-p/476217#M177846</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-17T11:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview charttype</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-charttype/m-p/476218#M177847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was afraid so. Got to redesign the app then. Thanks a lot again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 12:28:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-charttype/m-p/476218#M177847</guid>
      <dc:creator />
      <dc:date>2013-06-17T12:28:53Z</dc:date>
    </item>
  </channel>
</rss>

