public class DataLabelFormat extends PVIObject implements IDataLabelFormat
Represents formatting options for DataLabel.
Modifier and Type | Method and Description |
---|---|
IChart |
getChart()
Returns the chart.
|
IFormat |
getFormat()
Represents the format of the data label.
|
java.lang.String |
getNumberFormat()
Represents the format string for the DataLabels object.
|
int |
getPosition()
Represents the position of the data label.
|
java.lang.String |
getSeparator()
Sets or returns a Variant representing the separator used for the data labels on a chart.
|
boolean |
getShowBubbleSize()
Represents a specified chart's data label bubble size value display behavior.
|
boolean |
getShowCategoryName()
Represents a specified chart's data label category name display behavior.
|
boolean |
getShowLabelAsDataCallout()
Determines either specified chart's data label will be displayed as data callout or as data label.
|
boolean |
getShowLabelValueFromCell()
Represents a specified chart's data label cell value display behavior.
|
boolean |
getShowLeaderLines()
Represents a specified chart's data label leader lines display behavior.
|
boolean |
getShowLegendKey()
Represents a specified chart's data label legend key display behavior.
|
boolean |
getShowPercentage()
Represents a specified chart's data label percentage value display behavior.
|
boolean |
getShowSeriesName()
Returns or sets a Boolean to indicate the series name display behavior for the data labels on a chart.
|
boolean |
getShowValue()
Represents a specified chart's data label percentage value display behavior.
|
IChartTextFormat |
getTextFormat()
Returns chart text format.
|
boolean |
isNumberFormatLinkedToSource()
Read/write
boolean . |
void |
setNumberFormat(java.lang.String value)
Represents the format string for the DataLabels object.
|
void |
setNumberFormatLinkedToSource(boolean value)
Read/write
boolean . |
void |
setPosition(int value)
Represents the position of the data label.
|
void |
setSeparator(java.lang.String value)
Sets or returns a Variant representing the separator used for the data labels on a chart.
|
void |
setShowBubbleSize(boolean value)
Represents a specified chart's data label bubble size value display behavior.
|
void |
setShowCategoryName(boolean value)
Represents a specified chart's data label category name display behavior.
|
void |
setShowLabelAsDataCallout(boolean value)
Determines either specified chart's data label will be displayed as data callout or as data label.
|
void |
setShowLabelValueFromCell(boolean value)
Represents a specified chart's data label cell value display behavior.
|
void |
setShowLeaderLines(boolean value)
Represents a specified chart's data label leader lines display behavior.
|
void |
setShowLegendKey(boolean value)
Represents a specified chart's data label legend key display behavior.
|
void |
setShowPercentage(boolean value)
Represents a specified chart's data label percentage value display behavior.
|
void |
setShowSeriesName(boolean value)
Returns or sets a Boolean to indicate the series name display behavior for the data labels on a chart.
|
void |
setShowValue(boolean value)
Represents a specified chart's data label percentage value display behavior.
|
equals, getParent_Immediate, getParent_IPresentationComponent, getParent_ISlideComponent, getPresentation, getSlide, getVersion, hashCode, reset_Parent_IPresentationComponent
getClass, notify, notifyAll, toString, wait, wait, wait
getSlide
getPresentation
public final boolean isNumberFormatLinkedToSource()
Read/write boolean
.
isNumberFormatLinkedToSource
in interface IDataLabelFormat
public final void setNumberFormatLinkedToSource(boolean value)
Read/write boolean
.
setNumberFormatLinkedToSource
in interface IDataLabelFormat
public final java.lang.String getNumberFormat()
Represents the format string for the DataLabels object.
Read/write String
.
getNumberFormat
in interface IDataLabelFormat
public final void setNumberFormat(java.lang.String value)
Represents the format string for the DataLabels object.
Read/write String
.
setNumberFormat
in interface IDataLabelFormat
public final IFormat getFormat()
Represents the format of the data label.
Read-only IFormat
.
getFormat
in interface IDataLabelFormat
public final int getPosition()
Represents the position of the data label.
Read/write LegendDataLabelPosition
.
getPosition
in interface IDataLabelFormat
public final void setPosition(int value)
Represents the position of the data label.
Read/write LegendDataLabelPosition
.
setPosition
in interface IDataLabelFormat
public final boolean getShowLegendKey()
Represents a specified chart's data label legend key display behavior.
True if the data label legend key is visible.
Read/write boolean
.
getShowLegendKey
in interface IDataLabelFormat
public final void setShowLegendKey(boolean value)
Represents a specified chart's data label legend key display behavior.
True if the data label legend key is visible.
Read/write boolean
.
setShowLegendKey
in interface IDataLabelFormat
public final boolean getShowValue()
Represents a specified chart's data label percentage value display behavior.
True displays the percentage value. False to hide.
Read/write boolean
.
getShowValue
in interface IDataLabelFormat
public final void setShowValue(boolean value)
Represents a specified chart's data label percentage value display behavior.
True displays the percentage value. False to hide.
Read/write boolean
.
setShowValue
in interface IDataLabelFormat
public final boolean getShowCategoryName()
Represents a specified chart's data label category name display behavior.
True to display the category name for the data labels on a chart. False to hide.
Read/write boolean
.
getShowCategoryName
in interface IDataLabelFormat
public final void setShowCategoryName(boolean value)
Represents a specified chart's data label category name display behavior.
True to display the category name for the data labels on a chart. False to hide.
Read/write boolean
.
setShowCategoryName
in interface IDataLabelFormat
public final boolean getShowSeriesName()
Returns or sets a Boolean to indicate the series name display behavior for the data labels on a chart.
True to show the series name. False to hide.
Read/write boolean
.
getShowSeriesName
in interface IDataLabelFormat
public final void setShowSeriesName(boolean value)
Returns or sets a Boolean to indicate the series name display behavior for the data labels on a chart.
True to show the series name. False to hide.
Read/write boolean
.
setShowSeriesName
in interface IDataLabelFormat
public final boolean getShowPercentage()
Represents a specified chart's data label percentage value display behavior.
True displays the percentage value. False to hide.
Read/write boolean
.
getShowPercentage
in interface IDataLabelFormat
public final void setShowPercentage(boolean value)
Represents a specified chart's data label percentage value display behavior.
True displays the percentage value. False to hide.
Read/write boolean
.
setShowPercentage
in interface IDataLabelFormat
public final boolean getShowBubbleSize()
Represents a specified chart's data label bubble size value display behavior.
True displays the bubble size value. False to hide.
Read/write boolean
.
getShowBubbleSize
in interface IDataLabelFormat
public final void setShowBubbleSize(boolean value)
Represents a specified chart's data label bubble size value display behavior.
True displays the bubble size value. False to hide.
Read/write boolean
.
setShowBubbleSize
in interface IDataLabelFormat
public final boolean getShowLeaderLines()
Represents a specified chart's data label leader lines display behavior.
True displays the leader lines. False to hide.
Read/write boolean
.
getShowLeaderLines
in interface IDataLabelFormat
public final void setShowLeaderLines(boolean value)
Represents a specified chart's data label leader lines display behavior.
True displays the leader lines. False to hide.
Read/write boolean
.
setShowLeaderLines
in interface IDataLabelFormat
public final boolean getShowLabelValueFromCell()
Represents a specified chart's data label cell value display behavior.
True displays cell value. False to hide.
Read/write boolean
.
getShowLabelValueFromCell
in interface IDataLabelFormat
public final void setShowLabelValueFromCell(boolean value)
Represents a specified chart's data label cell value display behavior.
True displays cell value. False to hide.
Read/write boolean
.
setShowLabelValueFromCell
in interface IDataLabelFormat
public final boolean getShowLabelAsDataCallout()
Determines either specified chart's data label will be displayed as data callout or as data label.
getShowLabelAsDataCallout
in interface IDataLabelFormat
public final void setShowLabelAsDataCallout(boolean value)
Determines either specified chart's data label will be displayed as data callout or as data label.
setShowLabelAsDataCallout
in interface IDataLabelFormat
public final java.lang.String getSeparator()
Sets or returns a Variant representing the separator used for the data labels on a chart.
Read/write String
.
getSeparator
in interface IDataLabelFormat
public final void setSeparator(java.lang.String value)
Sets or returns a Variant representing the separator used for the data labels on a chart.
Read/write String
.
setSeparator
in interface IDataLabelFormat
public final IChartTextFormat getTextFormat()
Returns chart text format.
Read-only IChartTextFormat
.
getTextFormat
in interface IFormattedTextContainer
public final IChart getChart()
Returns the chart.
Read-only IChart
.
getChart
in interface IChartComponent