@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 ChartLegendposition - new legend positionpublic LegendPosition getPosition()
getPosition in interface ChartLegendpublic XSSFManualLayout getManualLayout()
ManuallyPositionablegetManualLayout in interface ManuallyPositionableCopyright © 2020. All rights reserved.