Hi,
I found a small bug. The border of a stacked bar is displayed in the color of the series if the value is 0. That is a bit confusing.
I'm using 8.06.
Cheers,
Timo
Border of stacked bars
Border of stacked bars
- Attachments
-
- Projekte.rar
- (2.29 KiB) Downloaded 479 times
Re: Border of stacked bars
Hi Timo,
I could reproduce the problem so I've added it to the defect list to be fixed in future releases (TV52015106).
Note that it only happens in 2D.
And also note that as a workaround you could loop into your series and set as nulls those zero points:
I could reproduce the problem so I've added it to the defect list to be fixed in future releases (TV52015106).
Note that it only happens in 2D.
And also note that as a workaround you could loop into your series and set as nulls those zero points:
Code: Select all
uses series;
procedure TForm1.FormCreate(Sender: TObject);
var bar1, bar2: TBarSeries;
i, j: Integer;
begin
Chart1.View3D:=CheckBox1.Checked;
bar1:=Chart1.AddSeries(TBarSeries) as TBarSeries;
bar1.Add(0);
bar1.Add(10);
bar1.Pen.Width:=20;
//workaround
{ for i:=0 to Chart1.SeriesCount-1 do
for j:=0 to Chart1[i].Count-1 do
if Chart1[i].YValues[j] = 0 then
Chart1[i].SetNull(j); }
end;
procedure TForm1.CheckBox1Click(Sender: TObject);
begin
Chart1.View3D:=CheckBox1.Checked;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Border of stacked bars
Thanks!