public enum TrendlineType extends java.lang.Enum<TrendlineType>
| Enum Constant and Description |
|---|
Exponential
Uses an equation to calculate that the least squares fit through points.
|
Linear
Uses the linear equation y = mx + b to calculate that the least squares fit through points.
|
Logarithmic
Uses the equation y = c ln x + b to calculate that the least squares fit through points.
|
MovingAvg
Uses a sequence of averages computed from parts of the data series.
|
Polynomial
Uses an equation to calculate that the least squares fit through points.
|
Power
Uses an equation to calculate that the least squares fit through points.
|
| Modifier and Type | Method and Description |
|---|---|
static TrendlineType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TrendlineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrendlineType Logarithmic
public static final TrendlineType Linear
public static final TrendlineType Polynomial
public static final TrendlineType Power
public static final TrendlineType Exponential
public static final TrendlineType MovingAvg
public static TrendlineType[] values()
for (TrendlineType c : TrendlineType.values()) System.out.println(c);
public static TrendlineType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null