Defines the functions available for the TRSChartFunction class
Namespace: RSChartConsts
Delphi
|
type
TRSChartFunctionType = (
cftCustom,
cftCopy,
cftSum,
cftMedian,
cftAverage,
cftMinimum,
cftMaximum,
cftStdDev,
cftPopnStdDev,
cftVariance,
cftPopnVariance,
cftTotalVariance,
cftSumOfSquares,
cftNorm,
cftGreatestCommonDivisor);
|
|
Name
|
Description
|
|
cftAverage
|
Calculates the average of the SourceChart's values over the time period
|
|
cftCopy
|
Copies all the SourceChart's values over the time period without change
|
|
cftCustom
|
Uses TRSChartFunction.OnCustomFunction event handler as the function
|
|
cftGreatestCommonDivisor
|
Calculates the greatest common divisor (gcd) of the SourceChart Values. The SourceChart Values are rounded into integers. The GCD of two or more integers, when at least one of them is not zero, is the largest positive integer that divides the numbers without a remainder. For example, the GCD of 8 and 12 is 4
|
|
cftMaximum
|
Calculates the maximum value of the SourceChart's values over the time period
|
|
cftMedian
|
Calculates the median of the SourceChart's values over the time period. If there is an even number of data values, the median is the mean of the two data values in the middle. If there is an odd number of data values, then the median will be the value in the middle
|
|
cftMinimum
|
Calculates the minimum value of the SourceChart's values over the time period
|
|
cftNorm
|
Calculates the Euclidean 'L-2' norm for the values in the SourceChart over the time period. The 'L-2' norm is the square root of the sum of squares
|
|
cftPopnStdDev
|
Calculates the population standard deviation (the square root of the population variance) of all values in the SourceChart over the time period.
|
|
cftPopnVariance
|
Calculates the population variance of all values in the SourceChart over the time period, using the n method (biased): TotalVariance / n
|
|
cftStdDev
|
Calculates the sample standard deviation (the square root of the sample variance) of all SourceChart's values over the time period
|
|
cftSum
|
Calculates the summation of all the SourceChart's values over the time period
|
|
cftSumOfSquares
|
Calculates the sum of the squares of the SourceChart values over the time period: Data[0]^2 + Data[1]^2 + Data[2]^2...
|
|
cftTotalVariance
|
Calculates the sum of the squares of the difference between each SourceChart value and the mean of the SourceChart values over the time period
SUM(i=1,N)[(X(i) - Mean)**2]
|
|
cftVariance
|
Calculates the sample variance of all values in the SourceChart over the time period, using the n-1 method (unbiased)
|
Top
|
Reference
•RSCharting|RSChartFunction|TRSChartFunction •RSChartConsts |