Class XSSFChartLegend
java.lang.Object
org.apache.poi.xssf.usermodel.charts.XSSFChartLegend
- All Implemented Interfaces:
ChartLegend,ManuallyPositionable
@Deprecated
@Removal(version="4.2")
public final class XSSFChartLegend
extends Object
implements ChartLegend
Deprecated.
Represents a SpreadsheetML chart legend
-
Constructor Summary
ConstructorsConstructorDescriptionXSSFChartLegend(XSSFChart chart) Deprecated.Create a new SpreadsheetML chart legend -
Method Summary
Modifier and TypeMethodDescriptionorg.openxmlformats.schemas.drawingml.x2006.chart.CTLegendDeprecated.Return the underlying CTLegend bean.Deprecated.Returns manual layout for the chart element.Deprecated.booleanDeprecated.voidsetOverlay(boolean value) Deprecated.If true the legend is positioned over the chart area otherwise the legend is displayed next to it.voidsetPosition(LegendPosition position) Deprecated.
-
Constructor Details
-
XSSFChartLegend
Deprecated.Create a new SpreadsheetML chart legend
-
-
Method Details
-
getCTLegend
Deprecated.Return the underlying CTLegend bean.- Returns:
- the underlying CTLegend bean
-
setPosition
Deprecated.- Specified by:
setPositionin interfaceChartLegend- Parameters:
position- new legend position
-
getPosition
Deprecated.- Specified by:
getPositionin interfaceChartLegend- Returns:
- legend position
-
getManualLayout
Deprecated.Description copied from interface:ManuallyPositionableReturns manual layout for the chart element.- Specified by:
getManualLayoutin interfaceManuallyPositionable- Returns:
- manual layout for the chart element.
-
isOverlay
public boolean isOverlay()Deprecated.- Specified by:
isOverlayin interfaceChartLegend- Returns:
- overlay value.
-
setOverlay
public void setOverlay(boolean value) Deprecated.Description copied from interface:ChartLegendIf true the legend is positioned over the chart area otherwise the legend is displayed next to it. Default is no overlay.- Specified by:
setOverlayin interfaceChartLegend
-
XDDFChartLegendinstead