public static class ChartScatter.Builder extends Chart.Builder<ChartScatter.Builder>
Constructor and Description |
---|
Builder(java.lang.String title,
StyleChart style) |
Modifier and Type | Method and Description |
---|---|
ChartScatter.Builder |
addSeries(java.lang.String seriesName,
double[] xValues,
double[] yValues) |
ChartScatter |
build() |
setGridWidth, setGridWidth, setXMax, setXMin, setYMax, setYMin, showLegend, suppressAxisHorizontal, suppressAxisVertical
public Builder(java.lang.String title, StyleChart style)
public ChartScatter.Builder addSeries(java.lang.String seriesName, double[] xValues, double[] yValues)
seriesName
- Name of the seriesxValues
- Array of x valuesyValues
- Array of y values (such that a single point i has coordinates (x[i],y[i]))public ChartScatter build()