Jump to content
Software FX Community

TrendLine in Financial Chart


Recommended Posts

Please refer to the "Samples and Resource Center" that comes with the installation of Chart FX 7.

Please go to Chart FX Programmer's Guide --> Chart FX Extensions --> Chart FX Financial --> Interactive Drawing Features --> Trend Line

The following code creates, configures and adds Tren Line to the chart:

TrendLine tl1 = new TrendLine();

tl1.StartDate = new DateTime(1999, 3, 4);

tl1.EndDate = new DateTime(1999, 4, 8);

tl1.Line.Color = Color.Red;

tl1.Line.Width = 2;


Hope this helps.

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...