Problems with smoothing function in Chart
Hi,
I have a problem and don't know how to solve it:
I need to add Chart to my report.
Chart needs to have one series (type "Line") and it uses Fixed data:
Example code:
procedure Chart1OnBeforePrint(Sender: TfrxComponent);
begin
Chart2.SeriesData[0].XSource := '1;2;5;8';
Chart2.SeriesData[0].YSource := '1;7;3;10';
end;
I need to show this data using smoothing function (spline interpolation of my data points).
In Delphi I managed to do this, but in Fast Reports I don't know how to do it.
I would like to know how to achive this using code under Fast Reports?
Please Help!
P.S.
For example I have attached two pictures of charts with and without smoothing. (Charts are made in Delphi using TeeChart).
I have a problem and don't know how to solve it:
I need to add Chart to my report.
Chart needs to have one series (type "Line") and it uses Fixed data:
Example code:
procedure Chart1OnBeforePrint(Sender: TfrxComponent);
begin
Chart2.SeriesData[0].XSource := '1;2;5;8';
Chart2.SeriesData[0].YSource := '1;7;3;10';
end;
I need to show this data using smoothing function (spline interpolation of my data points).
In Delphi I managed to do this, but in Fast Reports I don't know how to do it.
I would like to know how to achive this using code under Fast Reports?
Please Help!
P.S.
For example I have attached two pictures of charts with and without smoothing. (Charts are made in Delphi using TeeChart).
Comments