Hello !
I use a cursor-tool to show the current mouse position.
But it works only in the inner chart frame.
Now, I want to show the cursor if I the mouse is out of it, too.
(eg. if the mouse is under the bottom axis, the vertical line
should follow the mouse.)
So I set the
Cursor.yValue = xAxis->CalcPosPoint(MouseXPos);
on every mouse-move-event and switched off FollowMouse
This works fine for less data charts, but if the chart has a lot of data
the line moving is very very slow.
So my question whats the different between
Follow mouse and set the x/y-values directly?
Best regards
Andreas Weichert
TCursorTool: Bad performace manualy set coordinates
Hi Andreas,
The cursor tool uses the same CalcPosPoint methods that you tried, but I can't explain right now all the optimizations implemented to improve its performance.
The cursor tool uses the same CalcPosPoint methods that you tried, but I can't explain right now all the optimizations implemented to improve its performance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |