<?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: how to use a button to change chart setting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452812#M564743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I downloaded your examplea and tried to understand how you achieved it. Can you explain a bit about how did the trigger on button connected with the chart. ? and also what does "=(not vShowValues)*-255" mean ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2013 12:47:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-25T12:47:42Z</dc:date>
    <item>
      <title>how to use a button to change chart setting</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452806#M564737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My query:&lt;/P&gt;&lt;P&gt;usually we can change our chart setting in its property.&lt;/P&gt;&lt;P&gt;eg. I can add values on data points in the chart-property-expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder whether it is possible to add such a button&lt;/P&gt;&lt;P&gt;when I press it, the values show on the data.&lt;/P&gt;&lt;P&gt;when I press it again, the values disappear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 09:45:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452806#M564737</guid>
      <dc:creator />
      <dc:date>2013-01-24T09:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a button to change chart setting</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452807#M564738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly find the attachment .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 10:02:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452807#M564738</guid>
      <dc:creator />
      <dc:date>2013-01-24T10:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a button to change chart setting</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452808#M564739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a variable to change the text color of the values, effectively hiding or showing them. See attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 10:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452808#M564739</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-01-24T10:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a button to change chart setting</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452809#M564740</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;The way I usually do is that I actually create 2 charts and a list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say you want to view the values on data point:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add a table in your script as follows:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Show_Values:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ShowVal&lt;/P&gt;&lt;P&gt;Show values&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a listbox (checkbox) with ShowVal&lt;/LI&gt;&lt;LI&gt;create a chart with value on datapoint. Add a condition on the layout: if(ShowVal='Show values',1,0)&lt;/LI&gt;&lt;LI&gt;copy the first chart but untick show value on data point and add the condition:&amp;nbsp; if(ShowVal&amp;lt;&amp;gt;'Show values',1,0)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using Qlikview 11, no need to have 2 charts. Just us the conditional expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That would work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 10:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452809#M564740</guid>
      <dc:creator />
      <dc:date>2013-01-24T10:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a button to change chart setting</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452810#M564741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear,&lt;/P&gt;&lt;P&gt;did you attach it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 01:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452810#M564741</guid>
      <dc:creator />
      <dc:date>2013-01-25T01:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a button to change chart setting</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452811#M564742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;it works and really thought-provoking&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/love.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 06:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452811#M564742</guid>
      <dc:creator />
      <dc:date>2013-01-25T06:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a button to change chart setting</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452812#M564743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I downloaded your examplea and tried to understand how you achieved it. Can you explain a bit about how did the trigger on button connected with the chart. ? and also what does "=(not vShowValues)*-255" mean ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 12:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452812#M564743</guid>
      <dc:creator />
      <dc:date>2013-01-25T12:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a button to change chart setting</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452813#M564744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The button has an action assigned to it to change the value of the vShowValues variable. The chart uses the value of the variable for the text color of the values. So if the button changes the value it's immediatly changed in the chart too. There's no document or sheet trigger involved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression for the text color is &lt;STRONG&gt;black($(vShowValues))&lt;/STRONG&gt;. The variable vShowValues is used for the alpha parameter of the &lt;STRONG&gt;black()&lt;/STRONG&gt; color function. It determines how solid the color is. &lt;STRONG&gt;black(0)&lt;/STRONG&gt; is totally transparant, &lt;STRONG&gt;black(255)&lt;/STRONG&gt; is solid black.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula &lt;STRONG&gt;=(not vShowValues)*-255&lt;/STRONG&gt; flips the value of the variable between 0 and 255. It treats vShowValues as a boolean. If it has the value 0 then &lt;STRONG&gt;not vShowValues &lt;/STRONG&gt;returns -1, if it has a value other than 0 it returns 0. By multiplying the result of &lt;STRONG&gt;not vShowValues &lt;/STRONG&gt;(0 or -1) with -255 I get either 0 or 255.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 13:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452813#M564744</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-01-25T13:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a button to change chart setting</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452814#M564745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert. That really made sense and thank you once again for the detailed explanation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 05:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452814#M564745</guid>
      <dc:creator />
      <dc:date>2013-01-28T05:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to use a button to change chart setting</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452815#M564746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gysbert,&lt;/P&gt;&lt;P&gt;thanks for the tip, but how do you create the variable?&lt;/P&gt;&lt;P&gt;i'm trying to make a button that changes currency in a table, but i cant form the variable to control the currency presented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again &lt;/P&gt;&lt;P&gt;Avner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 09:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-a-button-to-change-chart-setting/m-p/452815#M564746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-23T09:03:57Z</dc:date>
    </item>
  </channel>
</rss>

