<?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: Add context menu to modified bulletchart visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Add-context-menu-to-modified-bulletchart-visual/m-p/1763193#M28777</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/291230"&gt;@jazfunk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/context-menu" target="_blank"&gt;Add context menu to Power BI Visual in Power BI embedded analytics for better embedded BI insights - Power BI | Microsoft Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Maybe you can refer to the link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Lionel Chen&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Apr 2021 05:34:09 GMT</pubDate>
    <dc:creator>v-lionel-msft</dc:creator>
    <dc:date>2021-04-05T05:34:09Z</dc:date>
    <item>
      <title>Add context menu to modified bulletchart visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Add-context-menu-to-modified-bulletchart-visual/m-p/1759954#M28745</link>
      <description>&lt;P&gt;I've successfully modified the &lt;A href="https://github.com/microsoft/powerbi-visuals-bulletchart" target="_self"&gt;MS BulletChart visual&lt;/A&gt; to achieve seven bands, instead of four, and some other items.&amp;nbsp; Now, I want to add &lt;A href="https://docs.microsoft.com/en-nz/power-bi/developer/visuals/context-menu" target="_self"&gt;context menu&lt;/A&gt; support (right-click) and I'm having the hardest time implementing this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After following the documentation I'm getting errors on the "eventTarget" portion of this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;this.svg.on('contextmenu', () =&amp;gt; {
            const mouseEvent: MouseEvent = d3.event as MouseEvent;
            const eventTarget: EventTarget = mouseEvent.target;
            let dataPoint = d3.select(eventTarget).datum();
            this.selectionManager.showContextMenu(dataPoint? dataPoint.selectionId : {}, {
                x: mouseEvent.clientX,
                y: mouseEvent.clientY
            });
            mouseEvent.preventDefault();
        });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This bullet chart is so complex, that nothing seems to match up with any documentation I'm seeing.&amp;nbsp; I'm surprised this visual didn't already come equipped to handle a context menu.&amp;nbsp; The drill-down roles support is listed in the capabilities.json.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking for some guidance on how to get this accomplished.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 13:52:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Add-context-menu-to-modified-bulletchart-visual/m-p/1759954#M28745</guid>
      <dc:creator>jazfunk</dc:creator>
      <dc:date>2021-04-01T13:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add context menu to modified bulletchart visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Add-context-menu-to-modified-bulletchart-visual/m-p/1763193#M28777</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/291230"&gt;@jazfunk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/context-menu" target="_blank"&gt;Add context menu to Power BI Visual in Power BI embedded analytics for better embedded BI insights - Power BI | Microsoft Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Maybe you can refer to the link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Lionel Chen&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 05:34:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Add-context-menu-to-modified-bulletchart-visual/m-p/1763193#M28777</guid>
      <dc:creator>v-lionel-msft</dc:creator>
      <dc:date>2021-04-05T05:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add context menu to modified bulletchart visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Add-context-menu-to-modified-bulletchart-visual/m-p/1763960#M28787</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/184579"&gt;@v-lionel-msft&lt;/a&gt;&amp;nbsp; thank you for your input, however, this is the same link I posted in my question, and the one in which I used to attempt to implement this feature.&amp;nbsp; This produces errors, as written.&amp;nbsp; The error states that "no overload matches this call".&lt;BR /&gt;&lt;BR /&gt;Again, thanks for the input.&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="jazfunk_0-1617627979827.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/487709i6F7A958C98ED9ECE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jazfunk_0-1617627979827.png" alt="jazfunk_0-1617627979827.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 13:07:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Add-context-menu-to-modified-bulletchart-visual/m-p/1763960#M28787</guid>
      <dc:creator>jazfunk</dc:creator>
      <dc:date>2021-04-05T13:07:12Z</dc:date>
    </item>
  </channel>
</rss>

