This document is archived and information here might be outdated. Recommended version. |
Gets totals for all fields.
[Visual Basic .NET]
Public Function GetFieldTotals ( _
) As Object
[C#]
public object GetFieldTotals (
);
[C++]
HRESULT GetFieldTotals(
void
);
This method calculates the field totals for the data referenced by the feature layer and the fields defined by the feature renderer. Before calling this method you must call SetData to set the feature layer and feature renderer.
This method is used to calculate field totals which can then be set to IChartRenderer::FieldTotal to support chart rendering with normalization by percent of total.