ErrorPoint Series - how to provide data values

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
BruceEglington
Newbie
Newbie
Posts: 2
Joined: Wed Jul 01, 2015 12:00 am

ErrorPoint Series - how to provide data values

Post by BruceEglington » Tue Apr 26, 2016 8:36 pm

Good day
I have previously used errorpoint series with TDBChart and all works well but would like to now use with a standard TChart. How does one provide X values, as well as values for the various error bars? I presume that the X value is provided the same way as for a normal point using .AddXY(xvalue,yvalue) but I can't find any equivalent for the errors.

Thanks
Bruce

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

Re: ErrorPoint Series - how to provide data values

Post by Yeray » Wed Apr 27, 2016 7:12 am

Hello Bruce,

TErrorPointSeries inherits this Add function from TCustomErrorPointSeries (TCustomErrorPointSeries.Add):
Here the definition:

Code: Select all

    function Add(Const AX,AY, ALeft, ARight, ATop, ABottom:Double;
                           Const AXLabel:String='';
                           AColor:TColor=clTeeColor):Integer;
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