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.
Hi,
I was testing Canvas Tooltips. It works very fine, I was wondering if it is somehow possible to give the tooltips an array of selectionIds instead of a single selectionId.
The use case would be a flowchart including edges with source and target that represents an edge/link connecting nodes that include all incoming and outgoing edges. Therefore, when I would hover above a node I would get all information about the in-/outcoming edges. For now, I get only information about each edge by hovering above the edge.
this.tooltipServiceWrapper.addTooltip(this.barContainer.selectAll('.bar'), (tooltipEvent: TooltipEventArgs<BarChartDataPoint>) => this.getTooltipData(tooltipEvent.data), (tooltipEvent: TooltipEventArgs<BarChartDataPoint>) => tooltipEvent.data.selectionId );
As seen in the code there is given only one selectionId. I have tried to put an array of selectionIds in but it does not react. Is there a possibility to aggregate an array of selectionIds.
With Regards
Canvas Tooltip does not support SelectiondId array as per design.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
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 |
---|---|
14 | |
2 | |
2 | |
1 | |
1 |