TBarSeries Multibar error
Posted: Tue Jul 06, 2004 9:22 pm
Hi, I'm using Delphi 7, TeeChart Pro v7.
The error "Incompatible types 'TMultibar' and 'TMenubreak'" is generated by the following code:
-----
----
The compiler indicates that "mbNone" is the culprit. Ideas?
Leah
The error "Incompatible types 'TMultibar' and 'TMenubreak'" is generated by the following code:
-----
Code: Select all
var
i : integer;
seriesBar : TBarSeries;
begin
for i := 0 to chtActive.SeriesCount - 1 do
if chtActive.Series[i] is TBarSeries then
begin
seriesBar := chtActive.Series[i] as TBarSeries;
Case rgpStacked.ItemIndex of
0: seriesBar.MultiBar := mbStacked;
1: seriesBar.MultiBar := mbSide;
2: seriesBar.MultiBar := mbNone;
end;
end;
end;
The compiler indicates that "mbNone" is the culprit. Ideas?
Leah