com.esri.arcgis.display
Interface IChartSymbol

All Superinterfaces:
Serializable
All Known Implementing Classes:
BarChartSymbol, PieChartSymbol, StackedChartSymbol

public interface IChartSymbol
extends Serializable

Provides access to properties common to all type of chart symbols.

Remarks

Use this interface to set up generic properties for a chart symbol. Chart symbols are used by the ChartRenderer to draw features with pie, bar/column, and stacked bar/column charts.

Chart symbols are data-driven and behave differently from most other symbols. Chart symbols are not designed to be used outside the context of a ChartRenderer.

Product Availability

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

See Also:
IBarChartSymbol, IChartSymbol

Method Summary
 double getMaxValue()
          The maximum value.
 double getValue(int index)
          The value at the index position.
 void setMaxValue(double value)
          The maximum value.
 void setValue(int index, double value)
          The value at the index position.
 

Method Detail

getValue

double getValue(int index)
                throws IOException,
                       AutomationException
The value at the index position.

Product Availability

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

Parameters:
index - The index (in)
Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValue

void setValue(int index,
              double value)
              throws IOException,
                     AutomationException
The value at the index position.

Product Availability

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

Parameters:
index - The index (in)
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxValue

double getMaxValue()
                   throws IOException,
                          AutomationException
The maximum value.

Remarks

When building a ChartRenderer through code and having varying size charts, you need to set this property so that the renderer's legend information is correct. This property should be set to the largest value for any field for all of the features in the layer.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The value
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaxValue

void setMaxValue(double value)
                 throws IOException,
                        AutomationException
The maximum value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
value - The value (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.