Add data to errorseries
Posted: Mon Feb 07, 2011 4:16 pm
Hi,
In V8 the following code (just for demonstration purposes) worked fine :
SELF:oDCTC:AddSeries(scError)
otemp2:=SELF:oDCTC:Series(SELF:oDCTC:SeriesCount-1)
For i:=1 to 10
otemp2:AsError:AddErrorBar(i, i*10, i*0.1, 'Test', clTeeColor)
next i
I recently migrated to V2010 and I get an error on : otemp2:AsError:AddErrorBar(i, i*10, i*0.1, 'Test', clTeeColor)
It says AddErrorBar is no method.
What am i doing wrong here ?
My goal is to draw an errormark (a T en reverse T) on the coordinate x, y with a specific height for the errormark.
TIA,
Jack
In V8 the following code (just for demonstration purposes) worked fine :
SELF:oDCTC:AddSeries(scError)
otemp2:=SELF:oDCTC:Series(SELF:oDCTC:SeriesCount-1)
For i:=1 to 10
otemp2:AsError:AddErrorBar(i, i*10, i*0.1, 'Test', clTeeColor)
next i
I recently migrated to V2010 and I get an error on : otemp2:AsError:AddErrorBar(i, i*10, i*0.1, 'Test', clTeeColor)
It says AddErrorBar is no method.
What am i doing wrong here ?
My goal is to draw an errormark (a T en reverse T) on the coordinate x, y with a specific height for the errormark.
TIA,
Jack