Skip to main content

PointLabelOptionsBase Class

Serves as the base for classes containing options related to chart point labels.

Declaration

export class PointLabelOptionsBase extends SerializableModel

Inherited Members

constructor

Initializes a new instance of the PointLabelOptionsBase class.

Declaration

constructor(
    JSON?: any,
    serializer?: DevExpress.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
JSON any

A JSON object used for dashboard deserialization. Do not pass this parameter directly.

serializer ModelSerializer

An object used for dashboard deserialization. Do not pass this parameter directly.

Properties

orientation Property

Specifies the point label orientation.

Declaration

orientation: ko.Observable<DevExpress.Dashboard.Model.PointLabelOrientation>

Property Value

Type Description
Observable<PointLabelOrientation>

A PointLabelOrientation object that specifies the point label orientation.

overlappingMode Property

Specifies the mode to resolve overlapping of point labels.

Declaration

overlappingMode: ko.Observable<DevExpress.Dashboard.Model.PointLabelOverlappingMode>

Property Value

Type Description
Observable<PointLabelOverlappingMode>

A PointLabelOverlappingMode object that specifies the mode to resolve overlapping of series point labels.

showPointLabels Property

Declaration

showPointLabels: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

grabFrom(options) Method

Declaration

grabFrom(
    options: PointLabelOptionsBase
): void

Parameters

Name Type
options PointLabelOptionsBase