Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1005
How to drag an annotation?
posted

I want to be able to click on an annotation and drag it to a new lopcation, I can do all the dragging ok by handling the MouseDown, MouseMove and MouseUp events for the chart, but my problem is identifying which (if any) annotation was clicked.

Is there a way to hit-test the annotations given a mouse point so that I can iterate over the annotation list and find which one was clicked in the MouseDown event?

Thanks.

Brian

Parents
  • 17605
    posted

    In the v8.2 of the WinChart there is an example of Dragging Annotation. You can try looking at it. It is in Chart Samples / Chart Interaction / Dragging Annotation

Reply Children