<?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 API for Values on Data Points in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/API-for-Values-on-Data-Points/m-p/317983#M117215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We originally had 2 different ways to show Values on Datapoints, the properties were called NumbersOnBars and &lt;/P&gt;&lt;P&gt;ShowAsTextInChart, in version 9 (i think it was) we wanted to simplify properties and make them both into one setting. &lt;/P&gt;&lt;P&gt;To keep the backward compatibility Values will now be shown if either of these values is true. So most likely you had a ShowAsTextInChart set to true when trying to work it out at first. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make sure the code works you should set both of them to the same value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jul 2011 13:44:48 GMT</pubDate>
    <dc:creator>kji</dc:creator>
    <dc:date>2011-07-29T13:44:48Z</dc:date>
    <item>
      <title>API for Values on Data Points</title>
      <link>https://community.qlik.com/t5/QlikView/API-for-Values-on-Data-Points/m-p/317981#M117213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got this code for controlling an existing chart from the API guide:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;set chart=ActiveDocument.GetSheetObject("CH17")&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;set p = chart.GetProperties&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;p.ChartProperties.NumbersOnDataPointsLocation = 1&amp;nbsp;&amp;nbsp;&amp;nbsp; '1 - Inside segments, 0 - On top&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;set expr = p.Expressions.Item(0).Item(0).Data.ExpressionVisual&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;expr.ShowAsBar = true&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;expr.NumbersOnBars = true&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;p.ChartProperties.NumbersOnBarsTextMode = 1 '1 vertical, 0 horizontal&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;chart.SetProperties p&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All seems to work as expected except &lt;STRONG&gt;expr.NumbersOnBars=true&lt;/STRONG&gt;.&amp;nbsp; When I change the &lt;STRONG&gt;true &lt;/STRONG&gt;to &lt;STRONG&gt;false &lt;/STRONG&gt;and run the code, nothing happens. I want the user to be able to show or hide the data values by clicking a button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 12:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/API-for-Values-on-Data-Points/m-p/317981#M117213</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2011-07-29T12:30:18Z</dc:date>
    </item>
    <item>
      <title>API for Values on Data Points</title>
      <link>https://community.qlik.com/t5/QlikView/API-for-Values-on-Data-Points/m-p/317982#M117214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; The exact same code just starting working when I change the &lt;STRONG&gt;true &lt;/STRONG&gt;to &lt;STRONG&gt;false &lt;/STRONG&gt;and run the code.&lt;/P&gt;&lt;P&gt;Only God (or QlikView) knows why.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 13:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/API-for-Values-on-Data-Points/m-p/317982#M117214</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2011-07-29T13:09:26Z</dc:date>
    </item>
    <item>
      <title>API for Values on Data Points</title>
      <link>https://community.qlik.com/t5/QlikView/API-for-Values-on-Data-Points/m-p/317983#M117215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We originally had 2 different ways to show Values on Datapoints, the properties were called NumbersOnBars and &lt;/P&gt;&lt;P&gt;ShowAsTextInChart, in version 9 (i think it was) we wanted to simplify properties and make them both into one setting. &lt;/P&gt;&lt;P&gt;To keep the backward compatibility Values will now be shown if either of these values is true. So most likely you had a ShowAsTextInChart set to true when trying to work it out at first. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make sure the code works you should set both of them to the same value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 13:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/API-for-Values-on-Data-Points/m-p/317983#M117215</guid>
      <dc:creator>kji</dc:creator>
      <dc:date>2011-07-29T13:44:48Z</dc:date>
    </item>
  </channel>
</rss>

