Jump to content
Software FX Community

Delete the selected constant line on the graph

User (Legacy)

Recommended Posts

PS: I didn't read the subject carefully, seems that the line you are

referring to is a constant line.

However, constant lines don't have a "selected" state, so the attached image

got me confused.

You can delete a constant line from the chart just by making it invisible.

For the look of the chart I'm assuming you are using Chart FX 5.x, the code

to hide a constant line is:

ChartFX1.ConstantLine(0).Style = ChartFX1.ConstantLine(0).Style Or CC_HIDE


As for the context menu, Constant-Lines are not involved in the HitTest so

you can not that a constant line was "hit". This is a new feature we

introduced in Chart FX 6.0.



Software FX

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.

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...