public static class StyleChart.Builder extends Style.Builder<StyleChart.Builder>
| Modifier and Type | Field and Description |
|---|---|
protected Double |
axisStrokeWidth |
protected Double |
pointSize |
protected String[] |
seriesColors |
protected 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(Color... colors) |
StyleChart.Builder |
seriesColors(String... colors) |
StyleChart.Builder |
strokeWidth(double strokeWidth) |
StyleChart.Builder |
titleStyle(StyleText style) |
backgroundColor, backgroundColor, height, margin, margin, widthprotected Double strokeWidth
protected Double pointSize
protected String[] seriesColors
protected Double axisStrokeWidth
protected StyleText titleStyle
public StyleChart.Builder strokeWidth(double strokeWidth)
public StyleChart.Builder pointSize(double pointSize)
public StyleChart.Builder seriesColors(Color... colors)
public StyleChart.Builder seriesColors(String... colors)
public StyleChart.Builder axisStrokeWidth(double axisStrokeWidth)
public StyleChart.Builder titleStyle(StyleText style)
public StyleChart build()
Copyright © 2021. All rights reserved.