Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCharts > FMX.RS.ChartFunction > Classes

TRSFMXCustomChartFunction Class

Scroll Prev Top Next More

Implements a base chart function class that applies a function to an input SourceChart and adds values to a TargetChart.

The TRSCustomChartFunction 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.

alert_cautionCaution

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

ChartFunctionExample

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: FMX.RS.ChartFunction

To set up a function at run-time:

Delphi

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