User (Legacy) Posted June 11, 2004 Report Share Posted June 11, 2004 Hi, Is there a way to delete a selected line on the graph? Also, is it possible to have an effect showing that the line is currently and whether user can right-click on the line to see options they can do with the line?? Thanks. Link to comment Share on other sites More sharing options...
Software FX Posted June 11, 2004 Report Share Posted June 11, 2004 What is that line ? A series ? An Annotation Object ? You want UI For the End-user to delete it or you want to delete it though code ? What kind of options ? -- FP Software FX Link to comment Share on other sites More sharing options...
Software FX Posted June 11, 2004 Report Share Posted June 11, 2004 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 ChartFX1.Refresh 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. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.