Not showing manual stack bar
Posted: Fri Nov 28, 2008 10:47 am
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
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