Package org.knowm.xchart.style
Enum BoxStyler.BoxplotCalCulationMethod
- java.lang.Object
-
- java.lang.Enum<BoxStyler.BoxplotCalCulationMethod>
-
- org.knowm.xchart.style.BoxStyler.BoxplotCalCulationMethod
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BoxStyler.BoxplotCalCulationMethod>
- Enclosing class:
- BoxStyler
public static enum BoxStyler.BoxplotCalCulationMethod extends java.lang.Enum<BoxStyler.BoxplotCalCulationMethod>
Box plot calculation method, method for determining the position of the quartile
-
-
Enum Constant Summary
Enum Constants Enum Constant Description N_LESS_1Determine the position of the quartile, where Qi is = i (n-1) / 4, where i = 1, 2, and 3.N_LESS_1_PLUS_1Determine 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.N_PLUS_1Determine the position of the quartile, where Qi is = i (n + 1) / 4, where i = 1, 2, and 3.NPDetermine 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 Modifier Constructor Description privateBoxplotCalCulationMethod()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BoxStyler.BoxplotCalCulationMethodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BoxStyler.BoxplotCalCulationMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
N_PLUS_1
public static final BoxStyler.BoxplotCalCulationMethod 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
public static final BoxStyler.BoxplotCalCulationMethod 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
public static final BoxStyler.BoxplotCalCulationMethod 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
public static final BoxStyler.BoxplotCalCulationMethod 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
-
-
Method Detail
-
values
public static BoxStyler.BoxplotCalCulationMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BoxStyler.BoxplotCalCulationMethod c : BoxStyler.BoxplotCalCulationMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BoxStyler.BoxplotCalCulationMethod valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-