Jump to content
Software FX Community

Dragging a 'constant lines'


svertu

Recommended Posts

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

Link to comment
Share on other sites

  • 5 months later...

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...