<?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 Error in developing the tutorial custom Visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Error-in-developing-the-tutorial-custom-Visual/m-p/124900#M4311</link>
    <description>&lt;P&gt;Hi Power BI community !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to learn how to develop my own custom visual. I first start to do the turial in the Github.&lt;/P&gt;&lt;P&gt;And I have a problem when I add databinding to Bar Chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed, when I compile it' says that &lt;STRONG&gt;value&lt;/STRONG&gt; and &lt;STRONG&gt;category&amp;nbsp;&lt;/STRONG&gt; are incompatible when I push the data in &lt;STRONG&gt;barChartDataPoints.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error TYPESCRIPT /src/barChart.ts : (58,37) Argument of type '{ category: string | number | boole&lt;BR /&gt;an | Date; value: string | number | boolean | Date; }' is not assignable to parameter of type 'BarCh&lt;BR /&gt;artDataPoint'.&lt;BR /&gt;Types of property 'value' are incompatible.&lt;BR /&gt;Type 'string | number | boolean | Date' is not assignable to type 'number'.&lt;BR /&gt;Type 'string' is not assignable to type 'number'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;58: &amp;nbsp; &amp;nbsp;barChartDataPoints.push({&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; category: category.values[i],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; value: dataValue.values[i]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me ? thank you for advance.&lt;/P&gt;&lt;P&gt;Ghislain&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2017 10:45:19 GMT</pubDate>
    <dc:creator>Ghislain</dc:creator>
    <dc:date>2017-02-09T10:45:19Z</dc:date>
    <item>
      <title>Error in developing the tutorial custom Visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-in-developing-the-tutorial-custom-Visual/m-p/124900#M4311</link>
      <description>&lt;P&gt;Hi Power BI community !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to learn how to develop my own custom visual. I first start to do the turial in the Github.&lt;/P&gt;&lt;P&gt;And I have a problem when I add databinding to Bar Chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indeed, when I compile it' says that &lt;STRONG&gt;value&lt;/STRONG&gt; and &lt;STRONG&gt;category&amp;nbsp;&lt;/STRONG&gt; are incompatible when I push the data in &lt;STRONG&gt;barChartDataPoints.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error TYPESCRIPT /src/barChart.ts : (58,37) Argument of type '{ category: string | number | boole&lt;BR /&gt;an | Date; value: string | number | boolean | Date; }' is not assignable to parameter of type 'BarCh&lt;BR /&gt;artDataPoint'.&lt;BR /&gt;Types of property 'value' are incompatible.&lt;BR /&gt;Type 'string | number | boolean | Date' is not assignable to type 'number'.&lt;BR /&gt;Type 'string' is not assignable to type 'number'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;58: &amp;nbsp; &amp;nbsp;barChartDataPoints.push({&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; category: category.values[i],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; value: dataValue.values[i]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me ? thank you for advance.&lt;/P&gt;&lt;P&gt;Ghislain&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 10:45:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-in-developing-the-tutorial-custom-Visual/m-p/124900#M4311</guid>
      <dc:creator>Ghislain</dc:creator>
      <dc:date>2017-02-09T10:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error in developing the tutorial custom Visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-in-developing-the-tutorial-custom-Visual/m-p/126916#M4380</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/19778"&gt;@Ghislain&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see you've solved this problem in &lt;A href="https://community.fabric.microsoft.com/t5/Power-BI-User-Group-Norway/Help-tutorial-custom-visual/gpm-p/124982" target="_self"&gt;this thread&lt;/A&gt;. For more information, see &lt;A title="" href="https://www.typescriptlang.org/docs/handbook/basic-types.html#type-assertions" target="_self" rel="nofollow noopener noreferrer"&gt;TypeScript Type assertions&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 10:48:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-in-developing-the-tutorial-custom-Visual/m-p/126916#M4380</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2017-02-14T10:48:48Z</dc:date>
    </item>
  </channel>
</rss>

