BCGControlBar Pro for MFC
void CBCGPChartTrendFormula::SetTrendType ( TrendLineType  type,
LPARAM  lParam = NULL,
BOOL  bGenerateDataPoints = TRUE 
)

Sets new trend line type.

Call this method to set the new trend line type.

type should be one of the following enumerated values.

  • TLT_LINEAR - linear trend line
  • TLT_EXPONENTIAL - exponential trend line
  • TLT_LOGARITHMIC - logarithmic trend line
  • TLT_POLYNOMIAL - polynomial trend line
  • TLT_POWER - power trend line
Parameters
typeSpecifies the new trend line type.
lParamUser-defined data.
bGenerateDataPointsTRUE - recalculate output data points immediately.