<?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 *** Expression As Legend *** in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-As-Legend/m-p/319920#M587217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Dear All,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Quick question on chart properties. I am working on building a VB Script code repository for Chart Objects. I need the name of the property to toggle the &lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;Expression As Legend &lt;/STRONG&gt;&lt;/SPAN&gt;option. I had looked into the API guide and could not find one. Please can someone answer this one?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Many thanks in advance.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Cheers - DV&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jun 2011 15:11:59 GMT</pubDate>
    <dc:creator>IAMDV</dc:creator>
    <dc:date>2011-06-24T15:11:59Z</dc:date>
    <item>
      <title>*** Expression As Legend ***</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-As-Legend/m-p/319920#M587217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Dear All,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Quick question on chart properties. I am working on building a VB Script code repository for Chart Objects. I need the name of the property to toggle the &lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;Expression As Legend &lt;/STRONG&gt;&lt;/SPAN&gt;option. I had looked into the API guide and could not find one. Please can someone answer this one?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Many thanks in advance.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Cheers - DV&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 15:11:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-As-Legend/m-p/319920#M587217</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-06-24T15:11:59Z</dc:date>
    </item>
    <item>
      <title>*** Expression As Legend ***</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-As-Legend/m-p/319921#M587218</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;sub abc&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.ActiveSheet.CreateBarChart&lt;/P&gt;&lt;P&gt;chart.AddDimension "CustomerID"&lt;/P&gt;&lt;P&gt;chart.AddExpression "sum(1)"&lt;/P&gt;&lt;P&gt;chart.AddExpression "count(1)"&lt;/P&gt;&lt;P&gt;set p = chart.GetProperties&lt;/P&gt;&lt;P&gt;set expr = p.Expressions.Item(0).Item(0).Data.ExpressionVisual&lt;/P&gt;&lt;P&gt;expr.ShowExpressionLabel = true 'True to check Expression as Legend&lt;/P&gt;&lt;P&gt;set expr = p.Expressions.Item(1).Item(0).Data.ExpressionVisual&lt;/P&gt;&lt;P&gt;expr.ShowExpressionLabel = false 'false to uncheck Expression as Legend&lt;/P&gt;&lt;P&gt;chart.SetProperties p&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 16:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-As-Legend/m-p/319921#M587218</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-06-24T16:37:45Z</dc:date>
    </item>
    <item>
      <title>*** Expression As Legend ***</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-As-Legend/m-p/319922#M587219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Kaushik - You are the star mate. Thank you very much for the code. Just curious to know... where are you based? and since how long are you using QV?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Also please can you help me with this post....&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/message/126614#126614"&gt;http://community.qlik.com/message/126614#126614&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cheers - DV&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 21:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-As-Legend/m-p/319922#M587219</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-06-24T21:17:01Z</dc:date>
    </item>
  </channel>
</rss>

