Page 1 of 1

ErrorPoint Series - how to provide data values

Posted: Tue Apr 26, 2016 8:36 pm
by 16574984
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

Re: ErrorPoint Series - how to provide data values

Posted: Wed Apr 27, 2016 7:12 am
by yeray
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;