Page 1 of 1

Not showing manual stack bar

Posted: Fri Nov 28, 2008 10:47 am
by 4207853
Hi

I have a stack that has at the bottom a dataset series and at the top a manual series which I populate in my code. However, when the bar chart is displayed, the dataset bars appear and only the value of the manual bars appears at the top as a label. The grapic bar (colored area) for the manual series is not shown. My code to add the manual series bar is

Q1.First;
Index := 1;

while not Q1.EOF do begin

If tbl.Locate('MemberName',Q1MemberName.value,[loCaseInsensitive]) then begin
ActiveChart.Series[1].Add(Index ,tbl.FieldByName('CurrentMeasure').value);

end
Index := Index + 1;
Q1.next
end;

ActiveChart.Series[1] is my manual series

Thanks
Gill

Posted: Fri Nov 28, 2008 11:13 am
by narcis
Hi Gill,

Have you tried setting its brush to solid?

Code: Select all

  ActiveChart[1].Brush.Style:=bsSolid;
If this doesn't help please send us a simple example project we can run "as-is" to reproduce the problem here.

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.