org.apache.poi.ss.usermodel.charts
Interface ChartLegend
- All Superinterfaces:
- ManuallyPositionable
@Beta
public interface ChartLegend
- extends ManuallyPositionable
High level representation of chart legend.
getPosition
LegendPosition getPosition()
- Returns:
- legend position
setPosition
void setPosition(LegendPosition position)
- Parameters:
position
- new legend position
isOverlay
boolean isOverlay()
- Returns:
- overlay value.
setOverlay
void setOverlay(boolean value)
- If true the legend is positioned over the chart area otherwise
the legend is displayed next to it.
Default is no overlay.
- Parameters:
value
-