@Beta public final class XSSFChartLegend extends Object implements ChartLegend
Constructor and Description |
---|
XSSFChartLegend(XSSFChart chart)
Create a new SpreadsheetML chart legend
|
Modifier and Type | Method and Description |
---|---|
org.openxmlformats.schemas.drawingml.x2006.chart.CTLegend |
getCTLegend()
Return the underlying CTLegend bean.
|
XSSFManualLayout |
getManualLayout()
Returns manual layout for the chart element.
|
LegendPosition |
getPosition() |
void |
setPosition(LegendPosition position) |
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
Copyright © 2020. All rights reserved.