BCGControlBar Pro for MFC
virtual void CBCGPChartSeries::SetMinMaxValues ( const CBCGPChartValue val,
CBCGPChartData::ComponentIndex  ci,
int  nDataPointIndex 
)
virtual

Sets a new minimum or maximum value.

This method is called when a new data point is being added to a series, or when RecalcMinMaxValues() method loops over all data points to recalculate minimum and maximum values on a series. dblValue is compared to the current minimum and maximum values and replaces one of them if it's exceeded.

Parameters
valA value to test.
ciComponent index.
nDataPointIndexIndex of a data point that contains the value.

Reimplemented in CBCGPChartTernarySeries.