<?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 tool-tips for line chart in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-tool-tips-for-line-chart/m-p/1366962#M25691</link>
    <description>&lt;P&gt;Any chance somebody can share some up to date code examples of a basic tooltip (i.e. looks like native Power BI) for a custom visual dot chart?&lt;/P&gt;</description>
    <pubDate>Sun, 13 Sep 2020 17:46:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-09-13T17:46:38Z</dc:date>
    <item>
      <title>Custom visual tool-tips for line chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-tool-tips-for-line-chart/m-p/364860#M10868</link>
      <description>&lt;P&gt;I'm creating a custom visual which has a line chart with multiple lines. How to create the tool-tip similar to power bi native line chart? I have created simple tool-tips for bar charts but couldn't create one for a line chart. Also, the tool-tips doesn't seem to work if the bars in the bar chart is overlapping (bar-in-bar chart). I can share my code if required.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 05:35:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-tool-tips-for-line-chart/m-p/364860#M10868</guid>
      <dc:creator>satishr</dc:creator>
      <dc:date>2018-02-26T05:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual tool-tips for line chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-tool-tips-for-line-chart/m-p/365163#M10875</link>
      <description>&lt;P&gt;We don't have any sample custom visual that implements tooltip for line chart.&lt;/P&gt;
&lt;P&gt;It seams you should detect cursor position and get data that is related to mouse position. After that, you should send data to &lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/Visual/Tooltips.md" target="_blank"&gt;Tooltip API&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&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, 26 Feb 2018 10:23:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-tool-tips-for-line-chart/m-p/365163#M10875</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-02-26T10:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual tool-tips for line chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-tool-tips-for-line-chart/m-p/365183#M10878</link>
      <description>&lt;P&gt;Thanks for your reply&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="17823" data-lia-user-login="v-viig" class="lia-mention lia-mention-user"&gt;v-viig&lt;/a&gt;. I understand that the tool-tips in the native line chart are quite advanced. I will be happy with simple tool-tips which shows on hovering the dots which connects the lines in the line chart. Can you help me with that? I have shared my code with you&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 10:54:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-tool-tips-for-line-chart/m-p/365183#M10878</guid>
      <dc:creator>satishr</dc:creator>
      <dc:date>2018-02-26T10:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual tool-tips for line chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-tool-tips-for-line-chart/m-p/365915#M10899</link>
      <description>&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; as you do in the code but the first argument must represent d3.selection for dots.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&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>Tue, 27 Feb 2018 08:14:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-tool-tips-for-line-chart/m-p/365915#M10899</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-02-27T08:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual tool-tips for line chart</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-tool-tips-for-line-chart/m-p/1366962#M25691</link>
      <description>&lt;P&gt;Any chance somebody can share some up to date code examples of a basic tooltip (i.e. looks like native Power BI) for a custom visual dot chart?&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 17:46:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-tool-tips-for-line-chart/m-p/1366962#M25691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-13T17:46:38Z</dc:date>
    </item>
  </channel>
</rss>

