ErrorBar x-value is not positioned correctly
Posted: Fri Dec 14, 2007 4:16 pm
I have in different applications a problem with errorbars. I want to plot dot's (measurement values) with errorbars (measurement uncertainty).
But every time the errorbar is placed just a little bit left of the dot. When I zoom in the distance stay's the same. I am sure that I give the same x value (measurement date/time) to both dot and errorbar. This is my code:
aXValue := Fields[2].AsFloat;
aSeries.AddXY(aXValue, aValue[aUnit], '', aColor);
aErrorSeries.AddErrorBar(aXValue, aValue[aUnit], aUnc[aUnit]);
I think that this must be a bug in TErrorbar.
But every time the errorbar is placed just a little bit left of the dot. When I zoom in the distance stay's the same. I am sure that I give the same x value (measurement date/time) to both dot and errorbar. This is my code:
aXValue := Fields[2].AsFloat;
aSeries.AddXY(aXValue, aValue[aUnit], '', aColor);
aErrorSeries.AddErrorBar(aXValue, aValue[aUnit], aUnc[aUnit]);
I think that this must be a bug in TErrorbar.