Methods
Static createLinearTicks
-
Parameters
-
-
Default value num: number = 10
Static Private createMinorTicks
- createMinorTicks(v: number, steps: number, stepSize: number): number[]
-
Parameters
-
v: number
-
steps: number
-
stepSize: number
Returns number[]
Static getDomainPixelSpan
- getDomainPixelSpan(scale: Scale, domain?: Domain): number
-
Parameters
Returns number
Static getDomainRatio
- getDomainRatio(scale: Scale): number
-
Parameters
Returns number
Static getDomainSpan
- getDomainSpan(scale: Scale, absoluteValue?: boolean): number
-
Parameters
-
-
Default value absoluteValue: boolean = true
Returns number
Static getPixelRatio
- getPixelRatio(scale: Scale): number
-
Parameters
Returns number
Static getRangeSpan
- getRangeSpan(scale: Scale): number
-
Parameters
Returns number
Util functions for d3 scales