This document is archived and information here might be outdated.  Recommended version.


ICalcRendererValues Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ICalcRendererValues Interface

Provides access to members that are used to calculate the renderer statistics required for some uses of a ChartRenderer. Note: the ICalcRendererValues interface has been superseded byICalcRendererValues2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

This interface provides access to methods of an object that calculates field statistics for a dataset. This object can be used to set up a ChartRenderer.

Members

Description
Method CalcMinMax Calculates minimum and maximum values.
Method GetFieldTotals Gets totals for all fields.
Method SetData Sets data for calculation.
Method SetDirty Sets object to state where values will be recalculated.
Method SetMinMax Manually sets minimum and maximum values.

CoClasses that implement ICalcRendererValues

CoClasses and Classes Description
CalcRendererValues An object that calculates renderer statistics which are required for some uses of the ChartRenderer object.

Remarks

When setting up a ChartRenderer  with charts that either vary in size, or that use normalization by percent of total, you can use a CalcRendererValues object to calculate some statistics that you set to the chart symbol and renderer so that: 1) the charts appear correctly on the map, and 2) and the chart legend information is correct