User (Legacy) Posted October 11, 2002 Report Share Posted October 11, 2002 I've got a chart where I'm plotting several lines of data for comparison. I want to hide the lines and turn them back on through client side VBScript. I've tried: .LineStyle = 0 .LineWidth=0 I can't find any reference to hiding and showing constantlines. Thanks Pat Link to comment Share on other sites More sharing options...
Software FX Posted October 14, 2002 Report Share Posted October 14, 2002 The Style property in the Constant line has a flag for hiding the line and another for hiding the text. To hide the line do: ChartFX1.ConstantLine(0).Style = ChartFX1.ConstantLine(0).Style Or 2 ' CC_HIDE ChartFX1.Refresh To re-Show it: ChartFX1.ConstantLine(0).Style = ChartFX1.ConstantLine(0).Style and not 2 ' CC_HIDE ChartFX1.Refresh -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.