trend function and null points

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
seanmurphy
Newbie
Newbie
Posts: 48
Joined: Fri Mar 12, 2004 5:00 am

trend function and null points

Post by seanmurphy » Sun Mar 22, 2009 10:41 am

I have a tlineseries which I am assignning a trend function, the lineseries contains gaps to which I am adding nulls with addnull. When I display the lineseries I have it configured so display shows grpah of curve in x,y, then blank gaps for a few samples where there is null data, then curve continues when there is data. The trend seems to include the null values (period is set to 2), I get a trend where there is contiguous data samples, but trend dives to zero when it hits the null data samples. What's the recommened way of dealing with this please?

thabks
Sean

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

Post by Yeray » Mon Mar 23, 2009 10:48 am

Hi Sean,

I think you would like to have a IgnoreNulls property for the trend function similar as for Exp Mov Average function. See the demo at: What's New ?/Welcome/New Features/Functions/Exp.Mov.Average/Ignore Nulls

I've added it to the wish list to be implemented in further releases (TV52013995).
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

seanmurphy
Newbie
Newbie
Posts: 48
Joined: Fri Mar 12, 2004 5:00 am

Post by seanmurphy » Mon Mar 23, 2009 12:47 pm

thanks Yeray, thatwould do the trick

Post Reply