org.apache.poi.ss.usermodel.charts
Interface ChartLegend

All Superinterfaces:
ManuallyPositionable

@Beta
public interface ChartLegend
extends ManuallyPositionable

High level representation of chart legend.


Method Summary
 LegendPosition getPosition()
           
 boolean isOverlay()
           
 void setOverlay(boolean value)
          If true the legend is positioned over the chart area otherwise the legend is displayed next to it.
 void setPosition(LegendPosition position)
           
 
Methods inherited from interface org.apache.poi.ss.usermodel.charts.ManuallyPositionable
getManualLayout
 

Method Detail

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 -