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.
dblValue | Specifies the new maximum value. |
ci | Specifies the component index. |