User (Legacy) Posted January 29, 2000 Report Share Posted January 29, 2000 In Delphi I create a constant line with this code: begin ChartFX1.OpenDataEX(COD_CONSTANTS,1,0); ChartFX1.ConstantLine[0].Value := 15; ChartFX1.ConstantLine[0].LineColor := RGB(255,0,0); ChartFX1.ConstantLine[0].Axis := AXIS_Y; ChartFX1.ConstantLine.Item[0].Label_ := 'Constant Value'; ChartFX1.ConstantLine[0].LineWidth := 1; ChartFX1.CloseData(COD_CONSTANTS); end; But then I want to hide or destroy this constant line. This doesn't seem to work: ChartFX1.ClearData(COD_CONSTANTS); Does anyone knows how to do this ? M.Wasbauer chartfx.bmp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.