We can see that, for the given data and configuration, the daMinMax algorithm doesn’t improve the drawing speed, but the daFirst algorithm has a significant impact on the drawing speed.
Another alternative is to use the TSmoothingFunction, which takes some time to calculate, but improves the drawing speed with a result more similar to the original series:
DownSampleSerie := TFastLineSeries.Create(Nil) ;
with DownSampleSerie do
begin
ParentChart:= Chart1 ;
Color:=IntensiteSerie.Color;
DownSampleFun := TDownSamplingFunction.Create(nil);
SetFunction(DownSampleFun);
DownSampleFun.Tolerance := 4;
DownSampleFun.DownSampleMethod := dsAverage;
DataSource := IntensiteSerie;
end;