XDDFChartLegend
instead@Deprecated @Removal(version="4.2") public final class XSSFChartLegend extends java.lang.Object implements ChartLegend
Constructor and Description |
---|
XSSFChartLegend(XSSFChart chart)
Deprecated.
Create a new SpreadsheetML chart legend
|
Modifier and Type | Method and Description |
---|---|
org.openxmlformats.schemas.drawingml.x2006.chart.CTLegend |
getCTLegend()
Deprecated.
Return the underlying CTLegend bean.
|
XSSFManualLayout |
getManualLayout()
Deprecated.
Returns manual layout for the chart element.
|
LegendPosition |
getPosition()
Deprecated.
|
boolean |
isOverlay()
Deprecated.
|
void |
setOverlay(boolean value)
Deprecated.
If true the legend is positioned over the chart area otherwise
the legend is displayed next to it.
|
void |
setPosition(LegendPosition position)
Deprecated.
|
public XSSFChartLegend(XSSFChart chart)
@Internal public org.openxmlformats.schemas.drawingml.x2006.chart.CTLegend getCTLegend()
public void setPosition(LegendPosition position)
setPosition
in interface ChartLegend
position
- new legend positionpublic LegendPosition getPosition()
getPosition
in interface ChartLegend
public XSSFManualLayout getManualLayout()
ManuallyPositionable
getManualLayout
in interface ManuallyPositionable
public boolean isOverlay()
isOverlay
in interface ChartLegend
public void setOverlay(boolean value)
ChartLegend
setOverlay
in interface ChartLegend
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.