|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.DataLabel
public class DataLabel
Represents a series labels.
Constructor Summary | |
---|---|
DataLabel(IChartSeries parent)
Creates a new instance of DataLabel class. |
Method Summary | |
---|---|
ITextFrame |
addTextFrameForOverriding(java.lang.String text)
Initialize TextFrameForOverriding with the text in paramener "text". |
float |
getBottom()
|
IChart |
getChart()
Returns the parent chart. |
IDataLabelFormat |
getDataLabelFormat()
|
float |
getHeight()
Returns or sets the height of a title as a fraction of the height of the chart. |
boolean |
getLinkedSource()
Deprecated. |
float |
getRight()
|
IChartTextFormat |
getTextFormat()
|
TextFrame |
getTextFrame()
Deprecated. |
ITextFrame |
getTextFrameForOverriding()
Can contain a rich formatted text. |
float |
getWidth()
Returns or sets the width of a title as a fraction of the width of the chart. |
float |
getX()
Returns or sets the x coordinate of a title as a fraction of the width of the chart. |
float |
getY()
Returns or sets the y coordinate of a title as a fraction of the height of the chart. |
void |
hide()
Make data label hidden by setting all Show*-flags (ShowValue, ...) to false state. |
boolean |
isVisible()
False means that data label is not visible (and so all Show*-flags (ShowValue, ...) are false). |
void |
setHeight(float value)
|
void |
setLinkedSource(boolean value)
Deprecated. |
void |
setTextFrame(TextFrame value)
Deprecated. |
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 |
Constructor Detail |
---|
public DataLabel(IChartSeries parent)
Creates a new instance of DataLabel class.
parent
- Parent series.Method Detail |
---|
public IChart getChart()
Returns the parent chart.
Read-only IChart
.
getChart
in interface IChartComponent
public boolean isVisible()
False means that data label is not visible (and so all Show*-flags (ShowValue, ...) are false).
isVisible
in interface IDataLabel
public void hide()
Make data label hidden by setting all Show*-flags (ShowValue, ...) to false state. IsVisible will be false after this.
hide
in interface IDataLabel
public ITextFrame addTextFrameForOverriding(java.lang.String text)
Initialize TextFrameForOverriding with the text in paramener "text". If TextFrameForOverriding is already initialized then simply changes its text.
addTextFrameForOverriding
in interface IOverridableText
text
- Text for a new TextFrameForOverriding.public ITextFrame getTextFrameForOverriding()
Can contain a rich formatted text. If this property is not null then this formatted text value overrides auto-generated text of data label. Auto-generated text of data label means text that is managed by ShowSeriesName, ShowValue, ... properties and is formatted with the TextFormatManager.TextFormat property.
getTextFrameForOverriding
in interface IOverridableText
public IChartTextFormat getTextFormat()
getTextFormat
in interface IFormattedTextContainer
public float getX()
Returns or sets the x coordinate of a title 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 title 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 title 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 title 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 IDataLabelFormat getDataLabelFormat()
getDataLabelFormat
in interface IDataLabel
@Deprecated public boolean getLinkedSource()
Gets and sets a reference to the worksheet
@Deprecated public void setLinkedSource(boolean value)
@Deprecated public TextFrame getTextFrame()
Returns a textframe of this data label.
@Deprecated public void setTextFrame(TextFrame value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |