TRSCustomChartFunction.SumOfSquares(TRSCustomChart,Integer,Integer,TDateTime,Integer) Method |
Scroll Prev Top Next More |
Calculates the sum of the squares of the SourceChart values over the time period: Data[0]^2 + Data[1]^2 + Data[2]^2....
Namespace: RSChartFunction
Delphi |
public |
Parameters
SourceChart
Type: TRSCustomChart
Chart to calculate the maximum from
IndexLow
Type: Integer
Lower bounds index into the SourceChart
IndexHigh
Type: Integer
Upper bounds index into the SourceChart
TimeStamp
Type: TDateTime
TimeStamp of the new value
SourceDim
Type: Integer
Type: TRSChartValueType
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 |