Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I'm using the power bi tooltips and would like them to appear above my nodes.
When I set the coordinates to the topmost position of my node, the triangle part of the tooltip starts there but goes to the right or left. The tooltip box itself will then overlap with my node.
Is it possible to make the tooltip appear in a certain direction? e.g. from my coordinates the tooltip should be centered above them
Instead of this:
I want something like this:
This is the code for showing the tooltip:
const bRect: DOMRect = cellView.el.getBoundingClientRect();
tooltipService.show({
dataItems: dataItem,
identities: [],
coordinates: [bRect.left + bRect.width / 2, bRect.top],
isTouchEvent: false,
});
Solved! Go to Solution.
Hi @Anonymous,
The main Power BI window currently manages the orientation of the tooltip relative to the supplied coordinates. The current API does not have the functionality to override this, so if you feel particularly strongly about it, you would need to request the feature from MS. This can either be done by creating an issue in the API repo or email them directly - pbicvsupport@microsoft.com
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @Anonymous,
The main Power BI window currently manages the orientation of the tooltip relative to the supplied coordinates. The current API does not have the functionality to override this, so if you feel particularly strongly about it, you would need to request the feature from MS. This can either be done by creating an issue in the API repo or email them directly - pbicvsupport@microsoft.com
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @Anonymous ,
You might look at this visual
or https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-visual-tooltips?tabs=desktop-new
or https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-tooltips?tabs=powerbi-desktop
for some good info.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Proud to be a Super User!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |