<?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: Custom visual not displaying in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/325149#M9608</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/11389"&gt;@v-chuncz-msft&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the console and got the following:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Uncaught SyntaxError: Unexpected token export
    at Object.i [as injectJsCode] (VM1088 visualhostcore.min.js:2)
    at i.loadWithoutResourcePackage (VM1089 visualsandbox.min.js:1)
    at i.executeMessage (VM1089 visualsandbox.min.js:1)
    at i.onMessageReceived (VM1089 visualsandbox.min.js:1)
    at VM1089 visualsandbox.min.js:1
    at e.invokeHandler (VM1088 visualhostcore.min.js:3)
    at e.dispatchMessage (VM1088 visualhostcore.min.js:3)
    at e.onMessageReceived (VM1088 visualhostcore.min.js:3)
    at windowMessageHandler (VM1088 visualhostcore.min.js:3)
    at dispatch (VM1084 visualsandbox.minimal.externals.js:16777)&lt;/PRE&gt;&lt;P&gt;The line of code it's referring to is from VM1322:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;export {version} from "./build/package";&lt;/PRE&gt;&lt;P&gt;Not really sure what the issue is, tried installing different versions of d3 but no change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Conor.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Dec 2017 11:16:43 GMT</pubDate>
    <dc:creator>ConorHG</dc:creator>
    <dc:date>2017-12-18T11:16:43Z</dc:date>
    <item>
      <title>Custom visual not displaying</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/324445#M9585</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to developing visuals so I am working my way through the powebi-visual &lt;A href="https://github.com/Microsoft/PowerBI-visuals" target="_self"&gt;github&lt;/A&gt;&amp;nbsp;repo.&lt;/P&gt;&lt;P&gt;But I am stuck on 'Building a Visual with Static Data'. I have tried following &lt;A href="https://www.youtube.com/watch?v=_2-yMGtEv2w" target="_self"&gt;this&lt;/A&gt;&amp;nbsp;tutorial but it doesn't work for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not having any issues with my code or receiving any errors, my visual just won't display. I have even copied the code directly from the repo and still, nothing is displaying.&lt;/P&gt;&lt;P&gt;I have added a hello world output to the visual and that updates straight away so I know the issue isn't the connection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;BR /&gt;Conor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 16:47:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/324445#M9585</guid>
      <dc:creator>ConorHG</dc:creator>
      <dc:date>2017-12-15T16:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual not displaying</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/324879#M9601</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/48394"&gt;@ConorHG&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use try...catch statement and check the Web Console. If convenient, share us a complete project for a quick test.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 03:39:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/324879#M9601</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2017-12-18T03:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual not displaying</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/325149#M9608</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/11389"&gt;@v-chuncz-msft&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the console and got the following:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Uncaught SyntaxError: Unexpected token export
    at Object.i [as injectJsCode] (VM1088 visualhostcore.min.js:2)
    at i.loadWithoutResourcePackage (VM1089 visualsandbox.min.js:1)
    at i.executeMessage (VM1089 visualsandbox.min.js:1)
    at i.onMessageReceived (VM1089 visualsandbox.min.js:1)
    at VM1089 visualsandbox.min.js:1
    at e.invokeHandler (VM1088 visualhostcore.min.js:3)
    at e.dispatchMessage (VM1088 visualhostcore.min.js:3)
    at e.onMessageReceived (VM1088 visualhostcore.min.js:3)
    at windowMessageHandler (VM1088 visualhostcore.min.js:3)
    at dispatch (VM1084 visualsandbox.minimal.externals.js:16777)&lt;/PRE&gt;&lt;P&gt;The line of code it's referring to is from VM1322:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;export {version} from "./build/package";&lt;/PRE&gt;&lt;P&gt;Not really sure what the issue is, tried installing different versions of d3 but no change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Conor.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 11:16:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/325149#M9608</guid>
      <dc:creator>ConorHG</dc:creator>
      <dc:date>2017-12-18T11:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual not displaying</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/325158#M9610</link>
      <description>&lt;P&gt;What version of d3 do you use?&lt;/P&gt;&lt;P&gt;Please note that PBIVIZ Tools don't support d3 v4. You should use d3 v3 instead (d3 v&lt;SPAN&gt;3.5.5 works well)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 11:24:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/325158#M9610</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-12-18T11:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual not displaying</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/325172#M9611</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;&amp;nbsp;I was using v4.9.1 so I downgraded and that resolved that issue but I still cannot see my visual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/ConorHG/barchart" target="_blank"&gt;https://github.com/ConorHG/barchart&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: According to Microsoft's git repo PowerBI Tools supports d3 v4.9.1 but clearly it doesn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;BR /&gt;Conor.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 11:54:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/325172#M9611</guid>
      <dc:creator>ConorHG</dc:creator>
      <dc:date>2017-12-18T11:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual not displaying</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/326701#M9646</link>
      <description>&lt;P&gt;I can see&amp;nbsp;the visual (take a look at the screenshot below).&lt;/P&gt;&lt;P&gt;However, &lt;A href="https://github.com/ConorHG/barchart/blob/c03c023f6bafc8d0b254310c94801aa72908b7d9/src/visual.ts#L111" target="_blank"&gt;there's&amp;nbsp;tiny&amp;nbsp;mistake&lt;/A&gt; of applying class name for d3 selection. This issue can be fixed by this code:&lt;/P&gt;&lt;PRE&gt;            let bars = this.barContainer.selectAll(".bar").data(ViewModel.dataPoints);
            bars.enter()
                .append("rect")
                .classed("bar" , true);&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/74965i69C901EF2E5A2651/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 10:08:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/326701#M9646</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-12-20T10:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual not displaying</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/326732#M9647</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fixed that issue in the code but for whatever reason, I still cannot see the visual.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried several different browsers as well and it has made no difference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Completely stumped.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Visual.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/74968i86A8554A35F1D948/image-size/large?v=v2&amp;amp;px=999" role="button" title="Visual.PNG" alt="Visual.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added the below to the code and it displays okay.&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="Hello World.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/74972i7F0E9F80E7AE79FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Hello World.PNG" alt="Hello World.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Conor.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 10:45:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/326732#M9647</guid>
      <dc:creator>ConorHG</dc:creator>
      <dc:date>2017-12-20T10:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual not displaying</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/326737#M9648</link>
      <description>&lt;P&gt;I have also tried the stock project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the update count counter doesn't change when I move or resize the visual.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 11:02:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/326737#M9648</guid>
      <dc:creator>ConorHG</dc:creator>
      <dc:date>2017-12-20T11:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual not displaying</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/327334#M9666</link>
      <description>&lt;P&gt;You must fill &lt;STRONG&gt;Fields&lt;/STRONG&gt; of the stock custom visual to fix the issue with update count.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 08:15:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-not-displaying/m-p/327334#M9666</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-12-21T08:15:52Z</dc:date>
    </item>
  </channel>
</rss>

