My problem is that:
Code: Select all
ChartEntity entity = event.getEntity();
On the other hand the anchor moves always to the right place. How can I get the DataItem that is connected with the anchor,
The code:
Code: Select all
this.getComponentAt((int)this.getAnchor().getX(),(int)this.getAnchor().getY())