Enum Class BoxStyler.BoxplotCalCulationMethod
java.lang.Object
java.lang.Enum<BoxStyler.BoxplotCalCulationMethod>
org.knowm.xchart.style.BoxStyler.BoxplotCalCulationMethod
- All Implemented Interfaces:
Serializable, Comparable<BoxStyler.BoxplotCalCulationMethod>, Constable
- Enclosing class:
BoxStyler
public static enum BoxStyler.BoxplotCalCulationMethod
extends Enum<BoxStyler.BoxplotCalCulationMethod>
Box plot calculation method, method for determining the position of the quartile
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDetermine the position of the quartile, where Qi is = i (n-1) / 4, where i = 1, 2, and 3.Determine the position of the quartile, where Qi is = i (n-1) / 4 + 1, where i = 1, 2, 3 n represents the number of items contained in the sequence.Determine the position of the quartile, where Qi is = i (n + 1) / 4, where i = 1, 2, and 3.Determine the position of the quartile, where Qi is np = (i * n) / 4, where i = 1, 2, 3 n represents the number of items contained in the sequence. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BoxStyler.BoxplotCalCulationMethod[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
N_PLUS_1
Determine the position of the quartile, where Qi is = i (n + 1) / 4, where i = 1, 2, and 3. n represents the number of items contained in the sequence. Calculate the corresponding quartile based on location -
N_LESS_1
Determine the position of the quartile, where Qi is = i (n-1) / 4, where i = 1, 2, and 3. n represents the number of items contained in the sequence. Calculate the corresponding quartile based on location -
NP
Determine the position of the quartile, where Qi is np = (i * n) / 4, where i = 1, 2, 3 n represents the number of items contained in the sequence. If np is not an integer, Qi = X [np + 1] If np is an integer, Qi = (X [np] + X [np + 1]) / 2 -
N_LESS_1_PLUS_1
Determine the position of the quartile, where Qi is = i (n-1) / 4 + 1, where i = 1, 2, 3 n represents the number of items contained in the sequence. Calculate the corresponding quartile based on location
-
-
Constructor Details
-
BoxplotCalCulationMethod
private BoxplotCalCulationMethod()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-