Enum Trace.TraceType
java.lang.Object
java.lang.Enum<Trace.TraceType>
org.eclipse.nebula.visualization.xygraph.figures.Trace.TraceType
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Trace.TraceType>
,java.lang.constant.Constable
- Enclosing class:
- Trace
public static enum Trace.TraceType extends java.lang.Enum<Trace.TraceType>
The way how the trace will be drawn.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AREA
Fill the area under the trace.BAR
Draw each data point as a bar whose width is defined by lineWidth.DASH_LINE
Dash LineDASHDOT_LINE
Dashdot LineDASHDOTDOT_LINE
Dashdotdot LineDOT_LINE
Dot LineLINE_AREA
It also has a solid line in addition to the area.POINT
Only draw point whose style is defined by pointStyle.SOLID_LINE
Solid LineSTEP_HORIZONTALLY
Solid line in step.STEP_VERTICALLY
Solid line in step. -
Method Summary
Modifier and Type Method Description static java.lang.String[]
stringValues()
java.lang.String
toString()
static Trace.TraceType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Trace.TraceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SOLID_LINE
Solid Line -
DASH_LINE
Dash Line -
POINT
Only draw point whose style is defined by pointStyle. Its size is defined by pointSize. -
BAR
Draw each data point as a bar whose width is defined by lineWidth. The data point is in the middle of the bar on X direction. The bottom of the bar depends on the baseline. The alpha of the bar is defined by areaAlpha. -
AREA
Fill the area under the trace. The bottom of the filled area depends on the baseline. The alpha of the filled area is defined by areaAlpha. -
LINE_AREA
It also has a solid line in addition to the area. -
STEP_VERTICALLY
Solid line in step. It looks like the y value(on vertical direction) changed firstly. -
STEP_HORIZONTALLY
Solid line in step. It looks like the x value(on horizontal direction) changed firstly. -
DASHDOT_LINE
Dashdot Line -
DASHDOTDOT_LINE
Dashdotdot Line -
DOT_LINE
Dot Line
-
-
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Enum<Trace.TraceType>
-
stringValues
public static java.lang.String[] stringValues()
-