Show/Hide Toolbars

RiverSoftAVG Products Help

Applies a function to an input SourceChart and adds values to a TargetChart.

The TRSChartFunction class provides basic functions such as average, maximum, and minimum, and allows you to define a custom function. The function is applied over a Period of the SourceChart.


The TRSChartFunction can accept any type of chart for its SourceChart and TargetChart. However, some combinations may be unpredicatable


Chart Function Example showing automatic generation of hourly High/Low/Average data from a Source Line chart to a High/Low/Average Target Chart.

Namespace: RSChartFunction

To set up a function at run-time:


RSChartFunction1 := TRSChartFunction.Create(Self);
 RSChartFunction1.SourceChart := RSLineChart1;
 RSChartFunction1.PeriodValue := 0.25;
 RSChartFunction1.Period := cfpPercentageCount;
 RSChartFunction1.FunctionType := cftMaximum; 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb