Jump to content
Software FX Community

Is this possible: Hiding/destroying a constant line after it has been created ???


User (Legacy)

Recommended Posts

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

Archived

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

×
×
  • Create New...