Chart Builder API (beta)

oracle.ord.media.chart.legend
Class Legend

java.lang.Object
  |
  +--java.awt.Component
        |
        +--oracle.ord.media.chart.Chart
              |
              +--oracle.ord.media.chart.legend.Legend
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
Direct Known Subclasses:
AxisChart, PieChart

public class Legend
extends Chart

Legends display rows of labels and their associated color. Legends are used by axis charts to identify multiple series names by color. Legends are used by pie charts to display pie slice labels that cannot be placed inside the pie slice.

Legends are automatically instantiated and placed by the chart package. Additional controls are provided to allow the user to control the placement and style of legends: