Click or drag to resize

ChartDataLabel Class

Represents a series labels.
Inheritance Hierarchy
System Object
Spire.Presentation PptObject
Spire.Presentation.Charts ChartDataLabel

Namespace: Spire.Presentation.Charts
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public class ChartDataLabel : PptObject

The ChartDataLabel type exposes the following members.

Constructors
Name Description
Public method ChartDataLabel
Creates a new instance of DataLabel class.
Top
Properties
Name Description
Public property BubbleSizeVisible
Indicates whethere chart's data label bubble size value will display. Read/write Boolean .
Public property CategoryNameVisible
Indicates whethere chart's data label category name display behavior. Read/write Boolean .
Public property DataLabelShapeType
Gets or sets shape type of data label. Read/write DataLabelShapeType .
Public property DataLabelSize
Size of DataLabel
Public property Effect
Gets effects used for a chart. Read-only EffectDag .
Public property Effect3D
Gets 3D format of a chart. Read-only FormatThreeD .
Public property Fill
Gets fill style properties of a chart. Read-only FillFormat .
Public property HasDataSource
Gets and sets a reference to the worksheet
Public property ID
Specifies which data label are applied properties. Read/write Int32 .
Public property IsDelete
Gets or sets the label's delete flag. True means that data label was removed by user but preserved in file.
Public property LabelValueVisible
Indicates whethere chart's data label percentage value display behavior. Read/write Boolean .
Public property LegendKeyVisible
Indicates whethere chart's data label legend key display behavior. Read/write Boolean .
Public property Line
Gets line style properties of a chart.
Public property NumberFormat
Indicates the format string for the DataLabels object. Read/write String .
Public property Parent
Reference to Parent object. Read-only.
(Inherited from PptObject .)
Public property PercentageVisible
Indicates whethere chart's data label percentage value display behavior. Read/write Boolean .
Public property Position
Indicates the position of the data lable. Read/write DataLabelPosition .
Protected property ReferenceCount (Inherited from PptObject .)
Public property RotationAngle
Gets or sets rotation angle of chart's data label. Read/write Single .
Public property Separator
Gets or sets the separator used for the data labels on a chart. Read/write String .
Public property SeriesNameVisible
Indicates whethere the series name display behavior for the data labels on a chart. Read/write Boolean .
Public property ShowDataLabelsRange
if show data labels range.
Public property TextFrame
Gets a textframe of this data label.
Public property TextProperties
Gets text properties. Readonly TextFrameProperties .
Public property UseValuePlaceholder
If use ValuePlaceholder
Public property X
Specifies the x location(left) of the dataLabel as a fraction of the width of the chart. The position is relative to the default position. Read/write Single .
Public property Y
Specifies the y location(top) of the dataLabel as a fraction of the height of the chart. The position is relative to the default position. Read/write Single .
Top
Methods
Name Description
Protected method AddReference (Inherited from PptObject .)
Protected method CheckDisposed (Inherited from PptObject .)
Public method Dispose
Dispose object and free resources.
(Inherited from PptObject .)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize (Inherited from PptObject .)
Protected method FindParent(Type) (Inherited from PptObject .)
Protected method FindParent( Type ) (Inherited from PptObject .)
Protected method FindParent(Type, Boolean) (Inherited from PptObject .)
Protected method FindParents (Inherited from PptObject .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method OnDispose
Method which can be overriden by users to take any specific actions when object is disposed.
(Inherited from PptObject .)
Protected method ReleaseReference (Inherited from PptObject .)
Protected method SetParent (Inherited from PptObject .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
Name Description
Protected field m_bIsDisposed (Inherited from PptObject .)
Public field Static member ValuePlaceholder
Use the ValuePlaceholder to represent chart value
Top
See Also