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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.