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).

Comments

  • gpigpi
    edited 5:49AM
    TfrxChartView doesn't support smoothing feature

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.