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

ChartAxis Class

Serves as the base class for classes that represent chart axes.

Declaration

export class ChartAxis extends SerializableModel

Remarks

The ChartAxis class provides settings that allow you to specify the axis visibility (ChartAxis.visible) and title (ChartAxis.title).

Inheritance

constructor

Initializes a new instance of the ChartAxis 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

numericFormat Property

Declaration

numericFormat: DataItemNumericFormat

Property Value

Type
DataItemNumericFormat

reverse Property

Declaration

reverse: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

title Property

Declaration

title: ko.Observable<string>

Property Value

Type
Observable<string>

titleVisible Property

Declaration

titleVisible: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

visible Property

Declaration

visible: 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