Modify Teechart series with RAP
Hi,
I would like to add a new series at run time or modify the values of a
series at run time using rap.
I can get access to a given series (see code below), but cannot use the
TChartSeries method to add a value to the series.
In this case, the series is not linked to a database. Which class should I
modify to make the "Add" method of teechart visible in RAP?
I am using RBuilder 6.03 Enterprise and I have a Teechart Pro v5.02
Thank you,
Max
I
Procedure HeaderBeforePrint;
ATeeChart: TppDPTeeChartControl;
ASeries:TChartSeries;
begin
ATeeChart:=DPTeeChart1.chart;
ASeries:=ATeeChart.SeriesList[0];
end;
I would like to add a new series at run time or modify the values of a
series at run time using rap.
I can get access to a given series (see code below), but cannot use the
TChartSeries method to add a value to the series.
In this case, the series is not linked to a database. Which class should I
modify to make the "Add" method of teechart visible in RAP?
I am using RBuilder 6.03 Enterprise and I have a Teechart Pro v5.02
Thank you,
Max
I
Procedure HeaderBeforePrint;
ATeeChart: TppDPTeeChartControl;
ASeries:TChartSeries;
begin
ATeeChart:=DPTeeChart1.chart;
ASeries:=ATeeChart.SeriesList[0];
end;
This discussion has been closed.
Comments
Max Mujynya
var
lSrs: TSeriesClassName;
begin
lSrs := ppTeeChart1.Chart.AddSeries(TSeriesClassName) as TSeriesClassName;
...
end;
--
Ed Dressel
Team DM