BCGControlBar Pro for MFC
void CBCGPChartTrendFormula::SetTrendRange ( double  dblMinVal,
double  dblMaxVal 
)

Sets trend line range.

Call this method to set trend line displayed range (in X axis coordinates). If dblMinVal and dblMaxVal are equal, the range is considered empty and the trend line is drawn between minimum and maximum displayed values of X axis.

You should set the range if the formula series is a single series displayed on the X axis. Alternatively you can call CBCGPChartAxis::SetFixedDisplayRange.

Parameters
dblMinValMinimum range value.
dblMaxValMaximum range value.