BCGControlBar Pro for MFC
void CBCGPChartSeries::SetFormula ( const CBCGPChartBaseFormula formula,
BOOL  bRedraw = FALSE 
)

Call this method to set a formula generating data points for the series.

Use this method to display formulas for CBCGPChartTransitionFormula and CBCGPChartTrendFormula objects.