Hide Comments
Hide Comments

Comments (0)

Defines the functions available for the TRSChartFunction class

Namespace: RSChartConsts

expandingSyntax

Delphi

type 
  TRSChartFunctionType = ( 
  cftCustom, 
  cftCopy, 
  cftSum, 
  cftMedian, 
  cftAverage, 
  cftMinimum, 
  cftMaximum, 
  cftStdDev, 
  cftPopnStdDev, 
  cftVariance, 
  cftPopnVariance, 
  cftTotalVariance, 
  cftSumOfSquares, 
  cftNorm, 
  cftGreatestCommonDivisor); 
 

expandingMembers

 

Name

Description

public enummember

cftAverage

Calculates the average of the SourceChart's values over the time period

public enummember

cftCopy

Copies all the SourceChart's values over the time period without change

public enummember

cftCustom

Uses TRSChartFunction.OnCustomFunction event handler as the function

public enummember

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

public enummember

cftMaximum

Calculates the maximum value of the SourceChart's values over the time period
 

public enummember

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
 

public enummember

cftMinimum

Calculates the minimum value of the SourceChart's values over the time period

public enummember

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

public enummember

cftPopnStdDev

Calculates the population standard deviation (the square root of the population variance) of all values in the SourceChart over the time period.

public enummember

cftPopnVariance

Calculates the population variance of all values in the SourceChart over the time period, using the n method (biased): TotalVariance / n

public enummember

cftStdDev

Calculates the sample standard deviation (the square root of the sample variance) of all SourceChart's values over the time period

public enummember

cftSum

Calculates the summation of all the SourceChart's values over the time period

public enummember

cftSumOfSquares

Calculates the sum of the squares of the SourceChart values over the time period: Data[0]^2 + Data[1]^2 + Data[2]^2...

public enummember

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]
 

public enummember

cftVariance

Calculates the sample variance of all values in the SourceChart over the time period, using the n-1 method (unbiased)

Top

expandingSee Also

Reference

RSCharting|RSChartFunction|TRSChartFunction

Comments (0)

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