ErrorSeries

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Stephan
Newbie
Newbie
Posts: 10
Joined: Mon Jan 19, 2004 5:00 am

ErrorSeries

Post by Stephan » Tue Feb 17, 2004 1:41 pm

Hello,

I have a problem with Errorseries in TChart. I want to add three
TErrorseries. This works fine beside that the single values of the three
series with identical x-Values are plotted at wrong x-values. It seems
to be that the different errors are plotted around the x-value, but I need
the values at the same place. For example, I add two all three series
the x-Value 10, one appears a little bit shifted to the right side, one shifted
to the left side, and one is at the correct position. You can see this effect,
when you add three TErrorseires to an empty TChart. How can I change
this effect at runtime?

Greetings
Stephan

Pep
Site Admin
Site Admin
Posts: 3296
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Feb 17, 2004 2:03 pm

Hi Stephan,

yes, TErrorSeries is derived from TErrorBarSeries, which has MultiBar property set to mbSide. This is fine for error bar and bar series, but not ok for error series. The solution is very simple: set error series MultiBar property to mbNone:

Series1.MultiBar := mbNone;

Stephan
Newbie
Newbie
Posts: 10
Joined: Mon Jan 19, 2004 5:00 am

Post by Stephan » Wed Feb 18, 2004 2:35 pm

Hello Pep,

thanks a lot. Now it looks fin 8-).

Greetings
Stephan

Post Reply