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:
Serializable
,Comparable<BoxStyler.BoxplotCalCulationMethod>
,java.lang.constant.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 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum 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. -
Method Summary
Modifier and TypeMethodDescriptionReturns 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 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
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-