toDomCoords method
Convert from data coordinates to canvas/div X/Y coordinates.
If specified, do this conversion for the coordinate system of a particular
axis. Uses the first axis by default.
Returns a two-element array: X, Y
Note: use toDomXCoord instead of toDomCoords(x, null) and use toDomYCoord instead of toDomCoords(null, y, axis).
Implementation
external List toDomCoords([num? x, num? y, num? axis]);