Skip to main content
A newer version of this page is available. .

PointLabelOptionsBase Class

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

Declaration

export class PointLabelOptionsBase extends SerializableModel

Inheritance

constructor

Initializes a new instance of the PointLabelOptionsBase class.

Declaration

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

Parameters

Name Type Description
JSON any
serializer DxDesigner.Analytics.Utils.ModelSerializer

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

Properties

orientation Property

Specifies the point label orientation.

Declaration

orientation: ko.Observable<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<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(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray

 

grabFrom(options) Method

Declaration

grabFrom(
    options: PointLabelOptionsBase
): void

Parameters

Name Type
options PointLabelOptionsBase