Posted 8 August 2018, 11:18 pm EST
Thanks for your quick answer.
I was allready exploring your last given option.
this.flexChart.hostElement.addEventListener('mousemove', (mouseEvent) => {
const hitTestInfo: HitTestInfo = this.flexChart.hitTest(mouseEvent);
const ligneBalance: LigneBalance = hitTestInfo.item as LigneBalance;
if (ligneBalance !== undefined) {
console.log(ligneBalance.libelle, ligneBalance.solde);
}
});
The idea is that a user hovers over a staff-graph or pie-graph and, when doing so, the tooltip should provide some info. The problem is that the tooltip fires for all of the column (painted or not) of a staff-graph!
Is there a way to tell this tooltip to appear only when going over a painted staff?