<?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 Control Tooltip in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Control-Tooltip/m-p/218059#M6861</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Purpose:&lt;/STRONG&gt; Control what is displayed in the tool tip&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Background:&amp;nbsp;&lt;/STRONG&gt;I am developing a custom visual. I would like to be able to control the tool tip for this visual. In my capabilities.json file I defined a tool tip under dataRoles and dataviewmappings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the next step? I want my tooltip to only display values that the user drags into ToolTip. Does anyone have tips into updating the visual.ts file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;capabilities.json&amp;nbsp; code:&amp;nbsp;&lt;BR /&gt;"displayName": "ToolTip",&lt;BR /&gt;"name": "ToolTip",&lt;BR /&gt;"kind": "Measure"&lt;BR /&gt;...&lt;BR /&gt;"ToolTip": { "max": 3 }&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="toolTipVisual.png" style="width: 258px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/51576i149D75422627000E/image-size/large?v=v2&amp;amp;px=999" role="button" title="toolTipVisual.png" alt="toolTipVisual.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jul 2017 22:51:45 GMT</pubDate>
    <dc:creator>slc7456</dc:creator>
    <dc:date>2017-07-24T22:51:45Z</dc:date>
    <item>
      <title>Control Tooltip</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Control-Tooltip/m-p/218059#M6861</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Purpose:&lt;/STRONG&gt; Control what is displayed in the tool tip&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Background:&amp;nbsp;&lt;/STRONG&gt;I am developing a custom visual. I would like to be able to control the tool tip for this visual. In my capabilities.json file I defined a tool tip under dataRoles and dataviewmappings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the next step? I want my tooltip to only display values that the user drags into ToolTip. Does anyone have tips into updating the visual.ts file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;capabilities.json&amp;nbsp; code:&amp;nbsp;&lt;BR /&gt;"displayName": "ToolTip",&lt;BR /&gt;"name": "ToolTip",&lt;BR /&gt;"kind": "Measure"&lt;BR /&gt;...&lt;BR /&gt;"ToolTip": { "max": 3 }&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="toolTipVisual.png" style="width: 258px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/51576i149D75422627000E/image-size/large?v=v2&amp;amp;px=999" role="button" title="toolTipVisual.png" alt="toolTipVisual.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 22:51:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Control-Tooltip/m-p/218059#M6861</guid>
      <dc:creator>slc7456</dc:creator>
      <dc:date>2017-07-24T22:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Control Tooltip</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Control-Tooltip/m-p/218379#M6868</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/30796"&gt;@slc7456&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to parse values from the data view object and &lt;A href="https://github.com/Microsoft/PowerBI-visuals-tools/blob/master/templates/visuals/.api/v1.7.0/PowerBI-visuals.d.ts#L1312" target="_blank"&gt;TooltipService&lt;/A&gt;&amp;nbsp;to show/hide tooltips.&lt;/P&gt;&lt;P&gt;You might use these as examples:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/Tutorial/ToolTips.md" target="_blank"&gt;Bar Chart tooltip&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/Microsoft/powerbi-visuals-utils-tooltiputils#microsoft-power-bi-visuals-tooltiputils" target="_blank"&gt;Tooltip Utils&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ignat Vilesov&lt;/STRONG&gt;,&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;pbicvsupport@microsoft.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:57:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Control-Tooltip/m-p/218379#M6868</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-07-25T08:57:38Z</dc:date>
    </item>
  </channel>
</rss>

