flipY(
domain):PlotDomain
Defined in: utils.ts:60
Returns a new domain with the y-axis bounds reversed.
This is useful when the same data domain should render with y increasing from top to bottom.
Parameters
| Parameter | Type | Description |
|---|---|---|
domain | PlotDomain | Domain to flip. |
Returns
A new domain with yMin and yMax swapped.