Display renderers

This sample demonstrates how to use the feature renderer objects to display symbology for a feature layer. The renderer objects correspond to the LayerProperties Symbology dialog box in ArcMap.
This sample uses the following renderers:
  • SimpleRenderer
  • UniqueValueRenderer
  • ClassBreaksRenderer
  • ProportionalSymbolRenderer
  • ChartRenderer
  • DotDensityRenderer
This sample also uses the following:
  • Symbols
  • Color ramps
  • Data statistics
  • Table histogram
  • Classify objects
The ArcObjects MapControl is used as the map canvas and the USA states shapefile is loaded into it at run time.

How to use

See How to use ArcGIS samples for help on running the sample.

  1. Run the sample application.
  2. Symbolize your data using the renderers provided.

If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.

cartography/DisplayRenderersMain.java Main class

Additional Requirements
  • USA states shapefile (provided in the ArcGIS\java\samples\data\usa folder)

Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic
ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced