public static class StyleChart.Builder extends Style.Builder<StyleChart.Builder>
Modifier and Type | Field and Description |
---|---|
protected java.lang.Double |
axisStrokeWidth |
protected java.lang.Double |
pointSize |
protected java.lang.String[] |
seriesColors |
protected java.lang.Double |
strokeWidth |
protected StyleText |
titleStyle |
backgroundColor, height, heightUnit, marginBottom, marginLeft, marginRight, marginTop, marginUnit, width, widthUnit
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StyleChart.Builder |
axisStrokeWidth(double axisStrokeWidth) |
StyleChart |
build() |
StyleChart.Builder |
pointSize(double pointSize)
Point size, for scatter plot etc
|
StyleChart.Builder |
seriesColors(java.awt.Color... colors) |
StyleChart.Builder |
seriesColors(java.lang.String... colors) |
StyleChart.Builder |
strokeWidth(double strokeWidth) |
StyleChart.Builder |
titleStyle(StyleText style) |
backgroundColor, backgroundColor, height, margin, margin, width
protected java.lang.Double strokeWidth
protected java.lang.Double pointSize
protected java.lang.String[] seriesColors
protected java.lang.Double axisStrokeWidth
protected StyleText titleStyle
public StyleChart.Builder strokeWidth(double strokeWidth)
public StyleChart.Builder pointSize(double pointSize)
public StyleChart.Builder seriesColors(java.awt.Color... colors)
public StyleChart.Builder seriesColors(java.lang.String... colors)
public StyleChart.Builder axisStrokeWidth(double axisStrokeWidth)
public StyleChart.Builder titleStyle(StyleText style)
public StyleChart build()