org.apache.poi.ss.usermodel.charts
Interface ChartLegend
-
- All Superinterfaces:
- ManuallyPositionable
- All Known Implementing Classes:
- XSSFChartLegend
@Beta public interface ChartLegend extends ManuallyPositionable
High level representation of chart legend.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description LegendPositiongetPosition()booleanisOverlay()voidsetOverlay(boolean value)If true the legend is positioned over the chart area otherwise the legend is displayed next to it.voidsetPosition(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-
-
-
DataMelt 3.0 © DataMelt by jWork.ORG