Trend slope and bias

TeeChart for ActiveX, COM and ASP
Post Reply
aligator32
Newbie
Newbie
Posts: 3
Joined: Tue Jan 24, 2012 12:00 am

Trend slope and bias

Post by aligator32 » Sat Oct 20, 2012 2:07 pm

Hi, I'm using the Trend chart and I would like to get or calculate the slope and bias of this trend chart, do you know how to do? regards, JP

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Trend slope and bias

Post by Yeray » Mon Oct 22, 2012 11:16 am

Hi,

Once you have your line series with a Trend function assigned to it and drawn, you can get this series values (.XValues.Value(0), .YValues.Value(0), .XValues.Value(1), .YValues.Value(1)) and calculate the slope manually with basic trigonometry rules:
http://en.wikipedia.org/wiki/Linear_equ ... rcept_form
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply