flipX(
domain):PlotDomain
Defined in: utils.ts:43
Returns a new domain with the x-axis bounds reversed.
This is useful when the same data domain should render with x increasing from right to left.
Parameters
| Parameter | Type | Description |
|---|---|---|
domain | PlotDomain | Domain to flip. |
Returns
A new domain with xMin and xMax swapped.