Hello,
I am working on a project where I wish to be able to click once on the graph, store the X,Y co-ordinates and then draw a line from that point to wherever the mouse moves to (within the bounds of the graph).
I know how to go about doing this, but I would like to use the Paint event to draw the line using GDI+, however, I cannot access the Paint event because ChartFX has a method for painting the graph to a Graphics structure that hides the Paint event and so Visual Studio reports an error.
I have tried to use the PostPaint event but it does not fire often enough.
Any ideas?
Thanks