Function: domainRect()
ts
function domainRect(area, x, y): ViewportRect;Experimental
A domain trace's rect (plan E4.5): domain.x / domain.y fractions (y from the bottom) of the plot area, in container px. Unlike axis spans this is not rounded: circular traces center on it exactly. Reversed or out-of-range fractions are sorted and clamped to [0, 1].
Parameters
| Parameter | Type |
|---|---|
area | Readonly<ViewportRect> |
x | readonly [number, number] |
y | readonly [number, number] |