|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.xssf.usermodel.charts.XSSFChartLegend
@Beta public final class XSSFChartLegend
Represents a SpreadsheetML chart legend
Constructor Summary | |
---|---|
XSSFChartLegend(XSSFChart chart)
Create a new SpreadsheetML chart legend |
Method Summary | |
---|---|
org.openxmlformats.schemas.drawingml.x2006.chart.CTLegend |
getCTLegend()
Return the underlying CTLegend bean. |
XSSFManualLayout |
getManualLayout()
Returns manual layout for the chart element. |
LegendPosition |
getPosition()
|
boolean |
isOverlay()
|
void |
setOverlay(boolean value)
If true the legend is positioned over the chart area otherwise the legend is displayed next to it. |
void |
setPosition(LegendPosition position)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSSFChartLegend(XSSFChart chart)
Method Detail |
---|
@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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |