This document is archived and information here might be outdated. Recommended version. |
Calculates minimum and maximum values.
[Visual Basic .NET]
Public Sub CalcMinMax ( _
ByRef MinValue As Double, _
ByRef maxValue As Double _
)
[C#]
public void CalcMinMax (
ref double MinValue,
ref double maxValue
);
[C++]
HRESULT CalcMinMax(
System.Double* MinValue,
System.Double* maxValue
);
[C++] Parameters MinValue [out]
MinValue is a parameter of type double* maxValue [out]
maxValue is a parameter of type double*
Use this method to calculate the MinValue and MaxValue in the data referenced by the feature layer in the fields defined by the feature renderer. You must first set the feature layer and feature renderer using SetData. The feature renderer is usually a ChartRenderer which contains multiple fields, and MinValue and MaxValue are calculated for you based only on the fields defined for the ChartRenderer using IRendererFields .
Use this method to calculate a value to set to IChartSymbol::MaxValue. This property represents the maximum value for all of the renderer fields for all of the features. The value is used by the ChartRenderer to properly set up a the legend information for the ChartRenderer which appears in the table of contents and can also appear in a legend.