|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Legend
public class Legend
Represents chart's legend properties.
Method Summary | |
---|---|
float |
getBottom()
|
IChart |
getChart()
|
ILegendEntryCollection |
getEntries()
Gets legend entries. |
IFormat |
getFormat()
Returns the format of a legend. |
float |
getHeight()
Returns or sets the height of a legend as a fraction of the height of the chart. |
boolean |
getOverlay()
Determines whether other chart elements shall be allowed to overlap legend. |
int |
getPosition()
Specifies the position of the legend on a chart. |
float |
getRight()
|
IChartTextFormat |
getTextFormat()
|
float |
getWidth()
Returns or sets the width of a legend as a fraction of the width of the chart. |
float |
getX()
Returns or sets the x coordinate of a legend as a fraction of the width of the chart. |
float |
getY()
Returns or sets the y coordinate of a legend as a fraction of the height of the chart. |
void |
setHeight(float value)
|
void |
setOverlay(boolean value)
|
void |
setPosition(int value)
|
void |
setWidth(float value)
|
void |
setX(float value)
|
void |
setY(float value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public float getX()
Returns or sets the x coordinate of a legend as a fraction of the width of the chart.
Read/write float
.
getX
in interface ILayoutable
public void setX(float value)
setX
in interface ILayoutable
public float getY()
Returns or sets the y coordinate of a legend as a fraction of the height of the chart.
Read/write float
.
getY
in interface ILayoutable
public void setY(float value)
setY
in interface ILayoutable
public float getWidth()
Returns or sets the width of a legend as a fraction of the width of the chart.
Read/write float
.
getWidth
in interface ILayoutable
public void setWidth(float value)
setWidth
in interface ILayoutable
public float getHeight()
Returns or sets the height of a legend as a fraction of the height of the chart.
Read/write float
.
getHeight
in interface ILayoutable
public void setHeight(float value)
setHeight
in interface ILayoutable
public float getRight()
getRight
in interface ILayoutable
public float getBottom()
getBottom
in interface ILayoutable
public boolean getOverlay()
Determines whether other chart elements shall be allowed to overlap legend.
Read/write bool
.
getOverlay
in interface ILegend
public void setOverlay(boolean value)
setOverlay
in interface ILegend
public IChartTextFormat getTextFormat()
getTextFormat
in interface IFormattedTextContainer
public int getPosition()
Specifies the position of the legend on a chart.
Non-NaN values of X, Y, Width, Heigt properties override effect of this property.
Read/write LegendPositionType
.
getPosition
in interface ILegend
public void setPosition(int value)
setPosition
in interface ILegend
public IFormat getFormat()
Returns the format of a legend.
Read-only Charts.Format
.
getFormat
in interface ILegend
public IChart getChart()
getChart
in interface IChartComponent
public ILegendEntryCollection getEntries()
Gets legend entries.
getEntries
in interface ILegend
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |