<?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: Tooltip render changes for custom line chart in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Tooltip-render-changes-for-custom-line-chart/m-p/1907080#M30041</link>
    <description>&lt;P&gt;Thx&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;for time and help. It definitly help to understand better the code behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is some code snippet that you know&amp;nbsp; about this case available on github repo that i can check?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jun 2021 17:00:23 GMT</pubDate>
    <dc:creator>powerdav</dc:creator>
    <dc:date>2021-06-17T17:00:23Z</dc:date>
    <item>
      <title>Tooltip render changes for custom line chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Tooltip-render-changes-for-custom-line-chart/m-p/1896434#M29931</link>
      <description>&lt;P&gt;Greetings everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm trying to achieve a goal to render tooltip value as a single value based on hover line, instead of all series of values as default in line chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After some research in order to get default line chart code, that is not possibile yet because what i found about it is that power bi core repository is not available anymore, i found power kpi 2.0.0 line chart repository as a best way to start with.&lt;/P&gt;&lt;P&gt;Following link:&amp;nbsp;&lt;A href="https://github.com/microsoft/PowerBI-visuals-PowerKPI" target="_blank" rel="noopener"&gt;https://github.com/microsoft/PowerBI-visuals-PowerKPI&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After get working debugger, i tried to follow powerbi developer documentation (&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/add-tooltips" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/power-bi/developer/visuals/add-tooltips&lt;/A&gt;) and some tips like this post:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Developer/Custom-line-chart-visual-tooltip/m-p/1387403" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Developer/Custom-line-chart-visual-tooltip/m-p/1387403&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But after several attempts in order to understand what's going on and how to change it and my lack of knowledge about this framework, i still fail in what i want to achive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i achive this tooltip visualization based on power kpi 2.0.0 code and possibly (but it is an extra) implement tooltip section field as standard line chart?&lt;/P&gt;&lt;P&gt;Or how can i found exaustive documentation/video that can help me and get this stuff a lot more easier?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for help and time you will provide me&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 16:36:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Tooltip-render-changes-for-custom-line-chart/m-p/1896434#M29931</guid>
      <dc:creator>powerdav</dc:creator>
      <dc:date>2021-06-11T16:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Tooltip render changes for custom line chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Tooltip-render-changes-for-custom-line-chart/m-p/1898400#M29960</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/306401"&gt;@powerdav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to show a tooltip for dots you should render the dots first.&lt;/P&gt;
&lt;P&gt;Please used d3.data method to bind data to each dot. Each data point must contain tooltip data that you want to show.&lt;/P&gt;
&lt;P&gt;After that you need&amp;nbsp;call&amp;nbsp;&lt;STRONG&gt;addTooltip&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;as you do in the code but the first argument must represent d3.selection for dots.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can refer to&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/utils-tooltip" target="_self"&gt;Tooltip utils&lt;/A&gt; for&amp;nbsp;&lt;SPAN&gt;tooltip customization in Power BI visuals.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rico Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 09:01:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Tooltip-render-changes-for-custom-line-chart/m-p/1898400#M29960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-14T09:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tooltip render changes for custom line chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Tooltip-render-changes-for-custom-line-chart/m-p/1907080#M30041</link>
      <description>&lt;P&gt;Thx&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;for time and help. It definitly help to understand better the code behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is some code snippet that you know&amp;nbsp; about this case available on github repo that i can check?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 17:00:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Tooltip-render-changes-for-custom-line-chart/m-p/1907080#M30041</guid>
      <dc:creator>powerdav</dc:creator>
      <dc:date>2021-06-17T17:00:23Z</dc:date>
    </item>
  </channel>
</rss>

