BCGSuite for MFC
void CBCGPChartSeries::SetMaxValue ( double  dblValue,
CBCGPChartData::ComponentIndex  ci = CBCGPChartData::CI_Y 
)

Sets maximum component value.

You can call this method to set a maximum value for the specified component.

This value will be always reported as a maximum to the related axis. However, it makes sense if you set a predefined maximum after all data points have been added to a series, or when you know there is no other maximum in the incoming data.

Note, that RecalcMinMaxValues() can potentially override the value you set here.

Parameters
dblValueSpecifies the new maximum value.
ciSpecifies the component index.