Module charts::utils [−][src]
Functions
calculate_control_points | Calculates the controls for [p2] given the previous point [p1], the next point [p3], and the curve tension [t]; |
calculate_interval | Calculates a nice axis interval given |
calculate_max_text_width | |
deg2rad | Converts [angle] in degrees to radians. |
find_max_value | Returns the maximum value in a [DataTable]. |
find_min_value | Returns the minimum value in a [DataTable]. |
get_decimal_places | Returns the number of decimal digits of [value]. |
hex2rgba | Converts [hexColor] and [alpha] to an RGBA color string. |
hyphenate | Returns the hyphenated version of [s]. |
is_in_range | Tests if [value] is in range [min]..[max], inclusively. |
polar2cartesian | |
rad2deg | Converts [angle] in radians to degrees. |
round2places | Rounds [value] to [places] decimal places. |