Algorithmic strategy for rendering a left axis.
_getDefaultMargins
Defined in
charts/js/LeftAxisLayout.js:26
Default margins for text fields.
Object
_getTransformOrigin
rot
Defined in
charts/js/LeftAxisLayout.js:311
Returns the transformOrigin to use for an axis label based on the position of the axis and the rotation of the label.
rot
Number
The rotation (in degrees) of the label.
Array
_setRotationCoords
props
Defined in
charts/js/LeftAxisLayout.js:272
Adjusts the coordinates of an axis label based on the rotation.
props
Object
Coordinates, dimension and rotation properties of the label.
getExplicitlySized
Defined in
charts/js/LeftAxisLayout.js:170
Determines the available label width when the axis width has been explicitly set.
Boolean
getLabelPoint
point
Defined in
charts/js/LeftAxisLayout.js:126
Calculates the point for a label.
point
Object
Point on the axis in which the tick will intersect.
getLineStart
Defined in
charts/js/LeftAxisLayout.js:100
Calculates the coordinates for the first point on an axis.
offsetNodeForTick
cb
Defined in
charts/js/LeftAxisLayout.js:342
Adjust the position of the Axis widget's content box for internal axes.
cb
Node
contentBox of the axis
positionLabel
label
pt
Defined in
charts/js/LeftAxisLayout.js:222
Rotate and position labels.
label
HTMLElement
to rotate position
pt
Object
hash containing the x and y coordinates in which the label will be positioned against.
positionTitle
label
Defined in
charts/js/LeftAxisLayout.js:192
Rotate and position title.
label
HTMLElement
to rotate position
setCalculatedSize
Defined in
charts/js/LeftAxisLayout.js:353
Sets the width of the axis based on its contents.
setTickOffset
Defined in
charts/js/LeftAxisLayout.js:43
Sets the length of the tick on either side of the axis line.
updateMaxLabelSize
label
Defined in
charts/js/LeftAxisLayout.js:139
Updates the value for the maxLabelSize
for use in calculating total size.
label
HTMLElement
to measure