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

ChartAxisX Class

The chart’s X-axis.

Declaration

export class ChartAxisX extends ChartAxis

Remarks

The ChartAxisX class represents an X-axis displayed in a chart dashboard item.

wdd-chart-axis

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

Use the ChartItem.axisX property to access the ChartAxisX instance.

Use the ChartPane.primaryAxisY property to access the ChartAxisY instance that is the chart’s Y-axis.

Inheritance

ChartAxis
ChartAxisX

constructor

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

dateTimeFormat Property

Declaration

dateTimeFormat: DataItemDateTimeFormat

Property Value

Type
DataItemDateTimeFormat

enableZooming Property

Declaration

enableZooming: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

limitVisiblePoints Property

Declaration

limitVisiblePoints: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

visiblePointsCount Property

Declaration

visiblePointsCount: ko.Observable<number>

Property Value

Type
Observable<number>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray