ZoomCharts Documentation
Switch to Version 2.0 (BETA)
ZoomCharts.Configuration.BaseLabelLayoutBase
Methods
Add rows, recalculate offsets, add ellipsis if necessary
Parameters
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
places label locationFromHeight(halfHeight) -> [centerX, centerY, directionX, directionY, width]
Parameters
Return value
Parameters
Return value
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.