TErrorBarSeries seems to have a bug that if I don't specify an error bar size, the bar itself does not appear.
For example, the following code does not show any bars at all
Code: Select all
TForm1 = class(TForm)
Chart1: TChart;
Series1: TErrorBarSeries;
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
series1.AddErrorBar(1,10,0,'foo',clRed);
series1.AddErrorBar(2,20,0,'fee',clRed);
end;
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
begin
series1.AddErrorBar(1,10,1,'foo',clRed);
series1.AddErrorBar(2,20,1,'fee',clRed);
end;