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.
this.tooltipServiceWrapper.addTooltip(chart.selectAll('.bar'),
(datapoint:unknown)=> Visual.getTooltipData(0),
null);
I successfully display a 'static' tooltip as a PoC, by not using a selectorId, and hard passing 0, and passing static values back (for now):
private static getTooltipData(value: any): VisualTooltipDataItem[] {
return [{
displayName: "test",//value.category,
value: "55"//value.value.toString()//,
// color: value.color,
// header: "display"
}];
}
This should prove everything else is set up correctly, My question is, whenever i try to use real dynamic data, the tooltop disapears and i can't seem to see anything wrong. I noticed the documentation is wrong (the example they show would not work, use my example instead) and missing (clicking link on this page shows 404)..
But browing the source: It looks like i need to create a custom interface, and then manually push the array w/ my data? And generate a selecitonID?
Is there any documentation going over all of that? thanks,
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 | |
1 | |
1 | |
1 |
User | Count |
---|---|
27 | |
3 | |
2 | |
2 | |
2 |