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