public class DataStyle extends Object implements EnumType<DataStyle.DataStyleType>
Modifier and Type | Class and Description |
---|---|
static class |
DataStyle.DataStyleType
An enumeration of
DataStyle types. |
Modifier and Type | Field and Description |
---|---|
static DataStyle |
bars
The default style for
DataStyle.DataStyleType.BARS . |
static DataStyle |
lines
The default style for
DataStyle.DataStyleType.LINES . |
static DataStyle |
linesPoints
The default style for
DataStyle.DataStyleType.LINESPOINTS . |
static DataStyle |
points
The default style for
DataStyle.DataStyleType.POINTS . |
static DataStyle |
surface
The default style for
DataStyle.DataStyleType.SURFACE . |
Constructor and Description |
---|
DataStyle(DataStyle.DataStyleType type)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getLineColor()
Gets the line color.
|
Double |
getLineSize()
Gets the line size.
|
String |
getLineStyle()
Gets the line style.
|
String |
getPointColor()
Gets the point color.
|
Double |
getPointSize()
Gets the point size.
|
String |
getPointStyle()
Gets the point style.
|
DataStyle.DataStyleType |
getType()
Gets the type.
|
DataStyle |
setLineColor(String lineColor)
Sets the line color.
|
DataStyle |
setLineSize(Double lineSize)
Sets the line size.
|
DataStyle |
setLineStyle(String lineStyle)
Sets the line style.
|
DataStyle |
setPointColor(String pointColor)
Sets the point color.
|
DataStyle |
setPointSize(Double pointSize)
Sets the point size.
|
DataStyle |
setPointStyle(String pointStyle)
Sets the point style.
|
public static final DataStyle lines
DataStyle.DataStyleType.LINES
.public static final DataStyle points
DataStyle.DataStyleType.POINTS
.public static final DataStyle linesPoints
DataStyle.DataStyleType.LINESPOINTS
.public static final DataStyle bars
DataStyle.DataStyleType.BARS
.public static final DataStyle surface
DataStyle.DataStyleType.SURFACE
.public DataStyle(DataStyle.DataStyleType type)
public DataStyle.DataStyleType getType()
EnumType
getType
in interface EnumType<DataStyle.DataStyleType>
public String getLineStyle()
public String getLineColor()
public Double getLineSize()
public String getPointStyle()
public String getPointColor()
public Double getPointSize()