<?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: Text in chart - getting it to disappear when clicking chart in Qlik Learning Discussions</title>
    <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Text-in-chart-getting-it-to-disappear-when-clicking-chart/m-p/758226#M1502</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;sure. Your chart follows some dimension surely. That is a field you can refer to. So in the edit_field for your text, just insert an IF_construct with the GetselectedCount() function to identify whether that field has been selected on - which is the case when the bar has been clicked on.&lt;/P&gt;&lt;P&gt;=&amp;gt; Sth like &amp;gt;&amp;gt; IF(Getselectedcount([dimension_field]) &amp;gt;= 1,' ', '[text]') &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;=&amp;gt; That way, when one of the bar in your chart has been clicked, that text would be empty. (don't forget to put a transparent background to your text)&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2015 14:39:40 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-03-06T14:39:40Z</dc:date>
    <item>
      <title>Text in chart - getting it to disappear when clicking chart</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Text-in-chart-getting-it-to-disappear-when-clicking-chart/m-p/758225#M1501</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;I have put text in a bar chart at the end of the bars (its horizontal), but the problem is when I click on a bar, all the stays in place and ruins the look of the chart. I am just wondering if there is a way to get rid of the text in chart when I click on a bar, but bring it back when I clear my selections?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 14:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Text-in-chart-getting-it-to-disappear-when-clicking-chart/m-p/758225#M1501</guid>
      <dc:creator />
      <dc:date>2015-03-06T14:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Text in chart - getting it to disappear when clicking chart</title>
      <link>https://community.qlik.com/t5/Qlik-Learning-Discussions/Text-in-chart-getting-it-to-disappear-when-clicking-chart/m-p/758226#M1502</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;sure. Your chart follows some dimension surely. That is a field you can refer to. So in the edit_field for your text, just insert an IF_construct with the GetselectedCount() function to identify whether that field has been selected on - which is the case when the bar has been clicked on.&lt;/P&gt;&lt;P&gt;=&amp;gt; Sth like &amp;gt;&amp;gt; IF(Getselectedcount([dimension_field]) &amp;gt;= 1,' ', '[text]') &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;=&amp;gt; That way, when one of the bar in your chart has been clicked, that text would be empty. (don't forget to put a transparent background to your text)&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 14:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Learning-Discussions/Text-in-chart-getting-it-to-disappear-when-clicking-chart/m-p/758226#M1502</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-03-06T14:39:40Z</dc:date>
    </item>
  </channel>
</rss>

