<?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: Rename tooltip names in ggplot2 in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Rename-tooltip-names-in-ggplot2/m-p/381008#M11315</link>
    <description>&lt;P&gt;You can access to the tooltip labels in this way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;p = ggplotly(fp);

  #tooltips on scatter
  p$x$data[[1]]$text = generateNiceTooltips(dataset[drawPoints,])
  
  #tooltips on lines
  p$x$data[[2]]$text = paste(as.character(conf1*100),"% limits (l)",sep ="")
  p$x$data[[3]]$text = paste(as.character(conf1*100),"% limits (u)",sep ="")
  p$x$data[[4]]$text = paste(as.character(conf2*100),"% limits (l)",sep ="")
  p$x$data[[5]]$text = paste(as.character(conf2*100),"% limits (u)",sep ="")
  p$x$data[[6]]$text = paste("baseline ", as.character(round(p.fem,4)), sep ="")
  
# save HTML with predefined name 
internalSaveWidget(p, 'out.html')&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See &lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/RVisualTutorial/TutorialFunnelPlot/chapter4_RHTMLCustomVisual/funnelRHTMLvisual_v01/script.r" target="_self"&gt;more&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Mar 2018 16:31:16 GMT</pubDate>
    <dc:creator>az2451</dc:creator>
    <dc:date>2018-03-21T16:31:16Z</dc:date>
    <item>
      <title>Rename tooltip names in ggplot2</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Rename-tooltip-names-in-ggplot2/m-p/378982#M11286</link>
      <description>&lt;P&gt;I'm trying to rename the names which are shown in the tooltip in a qplot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By using aes it worked so far but then i got the problem, that the values are incorrect because i dont know how to read each correct coordinate points&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way changing the names directly without creating new text-fields with aes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;g=qplot(dataset[1], dataset[2], data=dataset, aes(x,y)) + geom_point(aes(text=sprintf("Costs: %s&amp;lt;br&amp;gt;Count: &amp;lt;br&amp;gt;Last Name: ", dataset[4])))&lt;IMG src="https://ip1.i.lithium.com/24942495f509a07356c063a084d67c7578736d9d/68747470733a2f2f6962622e636f2f62434e345378" border="0" alt="" /&gt;&lt;/PRE&gt;&lt;P&gt;See screenshot here:&amp;nbsp;&lt;A href="https://ibb.co/bCN4Sx" target="_self"&gt;https://ibb.co/bCN4Sx&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 13:49:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Rename-tooltip-names-in-ggplot2/m-p/378982#M11286</guid>
      <dc:creator>az2451</dc:creator>
      <dc:date>2018-03-19T13:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rename tooltip names in ggplot2</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Rename-tooltip-names-in-ggplot2/m-p/379668#M11290</link>
      <description>&lt;P&gt;You might send an email to&amp;nbsp;&lt;STRONG&gt;pbircvsupport@microsoft.com&lt;/STRONG&gt;. There're expirienced R-script developers who is able to assist.&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, 20 Mar 2018 08:24:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Rename-tooltip-names-in-ggplot2/m-p/379668#M11290</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-03-20T08:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rename tooltip names in ggplot2</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Rename-tooltip-names-in-ggplot2/m-p/381008#M11315</link>
      <description>&lt;P&gt;You can access to the tooltip labels in this way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;p = ggplotly(fp);

  #tooltips on scatter
  p$x$data[[1]]$text = generateNiceTooltips(dataset[drawPoints,])
  
  #tooltips on lines
  p$x$data[[2]]$text = paste(as.character(conf1*100),"% limits (l)",sep ="")
  p$x$data[[3]]$text = paste(as.character(conf1*100),"% limits (u)",sep ="")
  p$x$data[[4]]$text = paste(as.character(conf2*100),"% limits (l)",sep ="")
  p$x$data[[5]]$text = paste(as.character(conf2*100),"% limits (u)",sep ="")
  p$x$data[[6]]$text = paste("baseline ", as.character(round(p.fem,4)), sep ="")
  
# save HTML with predefined name 
internalSaveWidget(p, 'out.html')&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See &lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/RVisualTutorial/TutorialFunnelPlot/chapter4_RHTMLCustomVisual/funnelRHTMLvisual_v01/script.r" target="_self"&gt;more&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 16:31:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Rename-tooltip-names-in-ggplot2/m-p/381008#M11315</guid>
      <dc:creator>az2451</dc:creator>
      <dc:date>2018-03-21T16:31:16Z</dc:date>
    </item>
  </channel>
</rss>

