svertu Posted September 28, 2011 Report Posted September 28, 2011 Hello, For the moment, the user can click on the Chart to define a constant line. I would like to allow them to move this constant line. Just wondering if there is a simple way to allow the user to drag a constant line into the Chart with the mouse ? (the m_pChartFX->AllowDrag = TRUE; concerns only the curves and not the constant lines) Best regards, Stan Quote
svertu Posted March 13, 2012 Author Report Posted March 13, 2012 Hello, I solved my problem. I used the example delivered with the software, reacting on mouse events. i do not know if it was the best solution but it works for me if i drag not too fast the constant line. if you are interested the code is in attached file. (of course you need dll file from ChartFX to make it work.) Best Stan Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.