public final 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.
|
long |
getVersion()
Version.
|
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, hashCodegetClass, notify, notifyAll, toString, wait, wait, waitgetSlidegetPresentationpublic long getVersion()
Version.
Read-only long.
getVersion in class PVIObjectpublic final boolean isNumberFormatLinkedToSource()
Read/write boolean.
isNumberFormatLinkedToSource in interface IDataLabelFormatpublic final void setNumberFormatLinkedToSource(boolean value)
Read/write boolean.
setNumberFormatLinkedToSource in interface IDataLabelFormatpublic final java.lang.String getNumberFormat()
Represents the format string for the DataLabels object.
Read/write String.
series.getLabels().getDefaultDataLabelFormat().setShowValue(true); series.getLabels().getDefaultDataLabelFormat().setNumberFormatLinkedToSource(false); series.getLabels().getDefaultDataLabelFormat().setNumberFormat("0.0%");
getNumberFormat in interface IDataLabelFormatpublic final void setNumberFormat(java.lang.String value)
Represents the format string for the DataLabels object.
Read/write String.
series.getLabels().getDefaultDataLabelFormat().setShowValue(true); series.getLabels().getDefaultDataLabelFormat().setNumberFormatLinkedToSource(false); series.getLabels().getDefaultDataLabelFormat().setNumberFormat("0.0%");
setNumberFormat in interface IDataLabelFormatpublic final IFormat getFormat()
Represents the format of the data label.
Read-only IFormat.
getFormat in interface IDataLabelFormatpublic final int getPosition()
Represents the position of the data label.
Read/write LegendDataLabelPosition.
getPosition in interface IDataLabelFormatpublic final void setPosition(int value)
Represents the position of the data label.
Read/write LegendDataLabelPosition.
setPosition in interface IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic final boolean getShowLabelAsDataCallout()
Determines either specified chart's data label will be displayed as data callout or as data label.
getShowLabelAsDataCallout in interface IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic 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 IDataLabelFormatpublic final IChartTextFormat getTextFormat()
Returns chart text format.
Read-only IChartTextFormat.
getTextFormat in interface IFormattedTextContainerpublic final IChart getChart()
Returns the chart.
Read-only IChart.
getChart in interface IChartComponentCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.