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: KnockoutObservable<boolean>

Property Value

Type
KnockoutObservable<boolean>

title Property

Declaration

title: KnockoutObservable<string>

Property Value

Type
KnockoutObservable<string>

titleVisible Property

Declaration

titleVisible: KnockoutObservable<boolean>

Property Value

Type
KnockoutObservable<boolean>

visible Property

Declaration

visible: KnockoutObservable<boolean>

Property Value

Type
KnockoutObservable<boolean>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationsInfo