mixins.graph-requires-scale-source Class
Adds functionality to identify a parent control that will provide an x and y scale, then adds scaling properties to the component it's mixed in to.
Item Index
Properties
Properties
scaleOffsetX
Number
The offset, in pixels, for the x scale
Default: 0
scaleOffsetY
Number
The offset, in pixels, for the y scale
Default: 0
scaleZoomX
Number
The zoom multiplier for the x scale
Default: 1
scaleZoomY
Number
The zoom multiplier for the y scale
Default: 1
xScale
d3.scale
The x scale used by this component
yScale
d3.scale
The y scale used by this component