Class MathHelper
java.lang.Object
com.codename1.charts.util.MathHelper
Utility class for math operations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleA value that is used a null value. -
Method Summary
Modifier and TypeMethodDescriptiongetLabels(double start, double end, int approxNumLabels) Computes a reasonable set of labels for a data interval and number of labels.static double[]Calculate the minimum and maximum values out of a list of doubles.
-
Field Details
-
NULL_VALUE
public static final double NULL_VALUEA value that is used a null value.- See Also:
-
-
Method Details
-
minmax
-
getLabels
-