Hide Comments
Hide Comments

TRSFMXCustomChartFunction.PopnStdDev(TRSCustomChart,TRSCustomChart,Integer,Integer,TDateTime,Integer,Integer) Method

Comments (0)

Calculates the population standard deviation (the square root of the population variance) of all values in the SourceChart over the time period and adds the value to the TargetChart. If the TargetChart is of a type that has more than 2 dimensions, such as a TRSLineChart with X and Y values, the new TargetChart value includes the TimeStamp.
 

Namespace: FMX.RS.ChartFunction

expandingSyntax

Delphi

public
  class procedure PopnStdDev(const SourceChart, TargetChart: TRSCustomChart;
  IndexLow, IndexHigh: Integer; TimeStamp: TDateTime;
  SourceDim: Integer;
  TargetDim: Integer); overload;
 

Parameters

SourceChart

Type: TRSCustomChart

Chart to calculate the maximum from

TargetChart

Type: TRSCustomChart

Chart to add the calculated maximum to

IndexLow

Type: Integer

Lower bounds index into the SourceChart

IndexHigh

Type: Integer

Upper bounds index into the SourceChart
 

TimeStamp

Type: TDateTime

TimeStamp to attach to the new value

SourceDim

Type: Integer

TargetDim

Type: Integer

expandingRemarks

Note that this function is a class procedure so it may be called even if the TRSCustomChartFunction is not instantiated.

The function can also be called by custom functions. For example, you could create a custom function that calls this function and then does something with the result (which is in the last value of the TargetChart)

expandingSee Also

Comments (0)

RiverSoftAVG Charting Component Suite (RCCS) © 2005-2015, Thomas G. Grubb