This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > ICalcRendererValues Interface > ICalcRendererValues.GetFieldTotals Method (ArcObjects .NET 10.4 SDK) |
Gets totals for all fields.
[Visual Basic .NET] Public Function GetFieldTotals ( _ ) As Object
[C#] public object GetFieldTotals ( );
[C++]
HRESULT GetFieldTotals(
VARIANT* doubleArrayTotals
);
[C++]
Parameters doubleArrayTotals [out, retval] doubleArrayTotals is a parameter of type VARIANT
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.