Page 1 of 1

Adding data using asErrorBar.AddErrorBar method

Posted: Fri May 18, 2007 9:54 am
by 9644933
Hi,

I had problems adding data points for error bars using tchart1.series(1).asErrorBar.AddErrorBar(xvalue,yvalue, error,string,color). it returns a <ComException> unhandled which I cannot comprehend "Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))".

Posted: Fri May 18, 2007 10:35 am
by narcis
Hi Dylan Ho,

Have you tried using:

Code: Select all

tchart1.series(1).asErrorBar.AddErrorBar xvalue,yvalue, error,string,color
instead? If this works is because Add methods with parenthesis return an integer which expects to be assigned to a variable.