Skip to main content

PointLabelOptionsBase Class

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

#Declaration

TypeScript
export class PointLabelOptionsBase extends SerializableModel

#Inherited Members

#constructor

Initializes a new instance of the PointLabelOptionsBase class.

#Declaration

TypeScript
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

TypeScript
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

TypeScript
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

TypeScript
showPointLabels: ko.Observable<boolean>

#Property Value

Type
Observable<boolean>

#Methods

#getInfo Method

For internal use.

#Declaration

TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

#Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

#grabFrom(options) Method

#Declaration

TypeScript
grabFrom(
    options: PointLabelOptionsBase
): void

#Parameters

Name Type
options PointLabelOptionsBase