I'm making use of a TChartfx (from the 'ActiveX' Tab) component (to generate a Pareto chart) and ideally want to display the chart on a Quick Report.
Whereas with standard TChart and TDBChart components I can replicate the chart on a QuickReport using a TQRDBChart component (for replicating a TDBChart) using the syntax :
QRChart1.Chart.Assign(DBChart1);
for tpI := 0 to (DBChart1.SeriesCount - 1) do
begin
CloneChartSeries(DBChart1[tpI]).ParentChart := QRChart1.Chart;
end;
However similar code cannot be used for the replicating of a TChartfx component on a Quick Report.
Has anyone done anything like this or could anyone suggest how I might go about this ?
Thanks in advance.
Steve
Whereas with standard TChart and TDBChart components I can replicate the chart on a QuickReport using a TQRDBChart component (for replicating a TDBChart) using the syntax :
QRChart1.Chart.Assign(DBChart1);
for tpI := 0 to (DBChart1.SeriesCount - 1) do
begin
CloneChartSeries(DBChart1[tpI]).ParentChart := QRChart1.Chart;
end;
However similar code cannot be used for the replicating of a TChartfx component on a Quick Report.
Has anyone done anything like this or could anyone suggest how I might go about this ?
Thanks in advance.
Steve