Chart Legends |
Placement | ||
The legend can be drawn on all sides of the chart plot. This is specified via constants defined in the LegendAreaProperties Class. If you would like the Legend to be to the right of the plot area rather than the default position underneath the plot area, do the following:
LegendProperties legendProperties= new LegendProperties(); legendProperties.setPlacement( LegendAreaProperties.RIGHT );