ZoomCharts Documentation
Switch to Version 2.0 (BETA)
ZoomCharts.Configuration.BaseLabelLayoutBase
Methods
Adjusts label position to ensure it stays within screen boundaries after ellipsis is applied.
Parameters
Apply ellipsis to label rows that exceed the specified maxWidth. This method modifies the label's rows in-place to truncate text with ellipsis.
Parameters
Return value
Clearance for a rectangle inside an ideal rounded boundary. Padding is measured from that boundary, after accounting for any stroke. The circle equation gives the horizontal intrusion at the text's top/bottom edge; padding already supplies part of it.
Parameters
Return value
places label locationFromHeight(halfHeight) -> [centerX, centerY, directionX, directionY, width]
Parameters
Return value
Parameters
Return value
Parameters
Return value
Uses the inside of the painted stroke as the content boundary. The path is inset by half the stroke and its radius is capped by that path's height; the inner arc loses the other half-stroke.
Parameters
Return value
Format full or partial multi line label text based on available space. It will add elipsis to any row if it does not fit in available space.
Parameters
Parameters
Return value
Calculates the total padding of the given label that includes the border width.