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: 



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;



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 ?



Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...