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


This topic is now archived and is closed to further replies.

  • Create New...