<?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: Data Color issue - custom visual barChart in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Data-Color-issue-custom-visual-barChart/m-p/3636032#M48736</link>
    <description>&lt;P&gt;Thanks. Was trying to get the barChart github files to work properly to understand what happened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Managed to resolve it by:&lt;/P&gt;&lt;P&gt;- rerunning:&amp;nbsp;&lt;STRONG&gt;npm i&lt;SPAN class=""&gt; -g&lt;/SPAN&gt; &lt;SPAN class=""&gt;powerbi-visuals&lt;/SPAN&gt;&lt;A href="mailto:-tools@latest" target="_blank" rel="noopener"&gt;-tools@latest&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;and&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;npm i d3@latest --save&lt;/SPAN&gt;&lt;/STRONG&gt; to get the latest libraries&lt;/P&gt;&lt;P&gt;- setting up a new project using &lt;STRONG&gt;pbiviz new barChart&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- copying the files from the github repo (&lt;A href="https://github.com/microsoft/PowerBI-visuals-sampleBarChart" target="_blank" rel="noopener"&gt;https://github.com/microsoft/PowerBI-visuals-sampleBarChart&lt;/A&gt;) in the new barChart folder (incl replacing existing ones)&lt;/P&gt;&lt;P&gt;- change the version in pbiviz.json from&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"version": "4.0.0"&lt;/STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"version": &lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;"4.0.0.0"&lt;/STRONG&gt; as an error occurred (version should be in 4 parts) with the latest libraries&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- installed &lt;/SPAN&gt;Microsoft Power BI visuals TooltipUtils (as this was missing) via&amp;nbsp;&lt;STRONG&gt;npm i powerbi-visuals-utils-tooltiputils&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When packaging the file via &lt;STRONG&gt;pbiviz package&lt;/STRONG&gt; and importing it in PowerBI Desktop, it worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ferryv_0-1705068647542.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1024680i4289A0EA92665383/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ferryv_0-1705068647542.png" alt="ferryv_0-1705068647542.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jan 2024 14:20:24 GMT</pubDate>
    <dc:creator>ferryv</dc:creator>
    <dc:date>2024-01-12T14:20:24Z</dc:date>
    <item>
      <title>Data Color issue - custom visual barChart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Data-Color-issue-custom-visual-barChart/m-p/3623397#M48169</link>
      <description>&lt;P&gt;&lt;FONT face="helvetica"&gt;I copied the source from the github repo and used&lt;/FONT&gt; &lt;FONT face="courier new,courier"&gt;pbiviz package&lt;FONT face="helvetica"&gt; to&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;package the file and import the visual in powerbi desktop with the aim to see if it all works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;owever, when opening the Data Colors tab, only the color on the last column can be updated. Has anyone seen this before or reported this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ferryv_0-1704728929065.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1021818iFA9875D1DAFF72DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="ferryv_0-1704728929065.png" alt="ferryv_0-1704728929065.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 15:52:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Data-Color-issue-custom-visual-barChart/m-p/3623397#M48169</guid>
      <dc:creator>ferryv</dc:creator>
      <dc:date>2024-01-08T15:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Data Color issue - custom visual barChart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Data-Color-issue-custom-visual-barChart/m-p/3635386#M48727</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/341583"&gt;@ferryv&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us with your problem. Based on your description, it seems that you are encountering a problem where only the last column's color can be updated in the Data Colors tab for a custom visual that you imported from a GitHub repository. You can refer the following official documentation&amp;nbsp;to build a bar chart.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/create-bar-chart?tabs=CreateNewVisual" target="_blank" rel="noopener"&gt;Build a bar chart visual in Power BI - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In addition, you can refer the following link to debug the problem to make troubleshooting.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;A class="" title="https://learn.microsoft.com/en-us/power-bi/developer/visuals/visuals-how-to-debug?tabs=edge" href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/visuals-how-to-debug?tabs=Edge" target="_blank" rel="noreferrer noopener" aria-label="Link How to debug Power BI custom visuals - Power BI | Microsoft Learn"&gt;How to debug Power BI custom visuals - Power BI | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 08:47:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Data-Color-issue-custom-visual-barChart/m-p/3635386#M48727</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-12T08:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Data Color issue - custom visual barChart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Data-Color-issue-custom-visual-barChart/m-p/3636032#M48736</link>
      <description>&lt;P&gt;Thanks. Was trying to get the barChart github files to work properly to understand what happened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Managed to resolve it by:&lt;/P&gt;&lt;P&gt;- rerunning:&amp;nbsp;&lt;STRONG&gt;npm i&lt;SPAN class=""&gt; -g&lt;/SPAN&gt; &lt;SPAN class=""&gt;powerbi-visuals&lt;/SPAN&gt;&lt;A href="mailto:-tools@latest" target="_blank" rel="noopener"&gt;-tools@latest&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;and&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;npm i d3@latest --save&lt;/SPAN&gt;&lt;/STRONG&gt; to get the latest libraries&lt;/P&gt;&lt;P&gt;- setting up a new project using &lt;STRONG&gt;pbiviz new barChart&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- copying the files from the github repo (&lt;A href="https://github.com/microsoft/PowerBI-visuals-sampleBarChart" target="_blank" rel="noopener"&gt;https://github.com/microsoft/PowerBI-visuals-sampleBarChart&lt;/A&gt;) in the new barChart folder (incl replacing existing ones)&lt;/P&gt;&lt;P&gt;- change the version in pbiviz.json from&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"version": "4.0.0"&lt;/STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"version": &lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;"4.0.0.0"&lt;/STRONG&gt; as an error occurred (version should be in 4 parts) with the latest libraries&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- installed &lt;/SPAN&gt;Microsoft Power BI visuals TooltipUtils (as this was missing) via&amp;nbsp;&lt;STRONG&gt;npm i powerbi-visuals-utils-tooltiputils&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When packaging the file via &lt;STRONG&gt;pbiviz package&lt;/STRONG&gt; and importing it in PowerBI Desktop, it worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ferryv_0-1705068647542.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1024680i4289A0EA92665383/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ferryv_0-1705068647542.png" alt="ferryv_0-1705068647542.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 14:20:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Data-Color-issue-custom-visual-barChart/m-p/3636032#M48736</guid>
      <dc:creator>ferryv</dc:creator>
      <dc:date>2024-01-12T14:20:24Z</dc:date>
    </item>
  </channel>
</rss>

