Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I'm trying to rename the names which are shown in the tooltip in a qplot
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
Is there a way changing the names directly without creating new text-fields with aes?
g=qplot(dataset[1], dataset[2], data=dataset, aes(x,y)) + geom_point(aes(text=sprintf("Costs: %s<br>Count: <br>Last Name: ", dataset[4])))
See screenshot here: https://ibb.co/bCN4Sx
Solved! Go to Solution.
You might send an email to pbircvsupport@microsoft.com. There're expirienced R-script developers who is able to assist.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
You can access to the tooltip labels in this way:
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')
See more
You might send an email to pbircvsupport@microsoft.com. There're expirienced R-script developers who is able to assist.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
You can access to the tooltip labels in this way:
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')
See more
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
17 | |
2 | |
2 | |
1 | |
1 |