CoordinateSystemAxis: {
    x: Axis;
    y: Axis;
}

Type definition for describing a Coordinate System along an X and Y axis.

Mainly related to translateCoordinate.

Axis coordinates are specified as X and Y numbers. Their location on the web page depends on the location of the ChartXY as well as the interval of its Axes.

 // Example of an Axis coordinate
const axisCoordinate = { x: 45, y: 10 }

An Axis coordinate system can be specified in two ways:

(1) Select the default X and Y axes with a quick convenience selector:

 ChartXY.translateCoordinate({ x: 0, y: 0 }, chart.coordsAxis, chart.coordsClient)

(2) Specify arbitrary pair of X and Y Axes:

 ChartXY.translateCoordinate({ x: 0, y: 0 }, { x: myAxisX, y: chart.getDefaultAxisX() }, chart.coordsClient)

Type declaration