DataLabelFormat Class

Represents formatting options for DataLabel.
Inheritance Hierarchy
SystemObject
  Aspose.SlidesPVIObject
    Aspose.Slides.ChartsDataLabelFormat

Namespace:  Aspose.Slides.Charts
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 22.1.0.0 (22.1)
Syntax
public class DataLabelFormat : PVIObject, 
	IDataLabelFormat, IFormattedTextContainer, IChartComponent, ISlideComponent, IPresentationComponent

The DataLabelFormat type exposes the following members.

Properties
  NameDescription
Public propertyAsIPresentationComponent
Allows to get base IPresentationComponent interface. Read-only IPresentationComponent.
(Inherited from PVIObject.)
Public propertyChart
Returns the chart. Read-only IChart.
Public propertyFormat
Represents the format of the data label. Read-only IFormat.
Public propertyIsNumberFormatLinkedToSource
Read/write Boolean.
Public propertyNumberFormat
Represents the format string for the DataLabels object. Read/write String.
Public propertyPosition
Represents the position of the data label. Read/write LegendDataLabelPosition.
Public propertySeparator
Sets or returns a Variant representing the separator used for the data labels on a chart. Read/write String.
Public propertyShowBubbleSize
Represents a specified chart's data label bubble size value display behavior. True displays the bubble size value. False to hide. Read/write Boolean.
Public propertyShowCategoryName
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.
Public propertyShowLabelAsDataCallout
Determines either specified chart's data label will be displayed as data callout or as data label.
Remarks
If parent of this DataLabelFormat object is a DataLabelCollection collection of data labels then this property gets or sets the default value of the ShowLabelAsDataCallout property for the new data labels in the DataLabelCollection collection. Set this property with value also sets this value to the ShowLabelAsDataCallout property for all data labels in the DataLabelCollection collection (i.e. "DataLabels.DefaultDataLabelFormat.ShowLabelAsDataCallout = val;" cause to all DataLabels[i].ShowLabelAsDataCallout is equal to val).
Public propertyShowLabelValueFromCell
Represents a specified chart's data label cell value display behavior. True displays cell value. False to hide. Read/write Boolean.
Public propertyShowLeaderLines
Represents a specified chart's data label leader lines display behavior. True displays the leader lines. False to hide. Read/write Boolean.
Public propertyShowLegendKey
Represents a specified chart's data label legend key display behavior. True if the data label legend key is visible. Read/write Boolean.
Public propertyShowPercentage
Represents a specified chart's data label percentage value display behavior. True displays the percentage value. False to hide. Read/write Boolean.
Public propertyShowSeriesName
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.
Public propertyShowValue
Represents a specified chart's data label percentage value display behavior. True displays the percentage value. False to hide. Read/write Boolean.
Public propertyTextFormat
Returns chart text format. Read-only IChartTextFormat.
Methods
  NameDescription
Public methodEquals
Compares with specified object.
(Inherited from PVIObject.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns hash code.
(Inherited from PVIObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also