Methods
domain
- domain(): Domain[]
- domain(values: Domain[]): Ordinal<Domain, Range>
-
Returns Domain[]
-
Parameters
Returns Ordinal<Domain, Range>
range
- range(): Range[]
- range(values: Range[]): Ordinal<Domain, Range>
-
Returns Range[]
-
Parameters
Returns Ordinal<Domain, Range>
rangeBands
- rangeBands(interval: [number, number], padding?: number, outerPadding?: number): Ordinal<Domain, number>
-
Parameters
-
interval: [number, number]
-
Optional padding: number
-
Optional outerPadding: number
Returns Ordinal<Domain, number>
rangeExtent
- rangeExtent(): [number, number]
rangePoints
- rangePoints(interval: [number, number], padding?: number): Ordinal<Domain, number>
-
Parameters
-
interval: [number, number]
-
Optional padding: number
Returns Ordinal<Domain, number>
rangeRoundBands
- rangeRoundBands(interval: [number, number], padding?: number, outerPadding?: number): Ordinal<Domain, number>
-
Parameters
-
interval: [number, number]
-
Optional padding: number
-
Optional outerPadding: number
Returns Ordinal<Domain, number>
rangeRoundPoints
- rangeRoundPoints(interval: [number, number], padding?: number): Ordinal<Domain, number>
-
Parameters
-
interval: [number, number]
-
Optional padding: number
Returns Ordinal<Domain, number>