Currently XYChart.Series class has the following constructors:
public XYChart.Series(ObservableList<XYChart.Data<X,Y>> data)
public XYChart.Series(java.lang.String name, ObservableList<XYChart.Data<X,Y>> data)
I propose to provide the following two constructors for convenience:
public XYChart.Series(XYChart.Data<X,Y>... data)
public XYChart.Series(java.lang.String name, XYChart.Data<X,Y>... data)
public XYChart.Series(ObservableList<XYChart.Data<X,Y>> data)
public XYChart.Series(java.lang.String name, ObservableList<XYChart.Data<X,Y>> data)
I propose to provide the following two constructors for convenience:
public XYChart.Series(XYChart.Data<X,Y>... data)
public XYChart.Series(java.lang.String name, XYChart.Data<X,Y>... data)