Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8090858

XYChart.Series should have (...) constructor

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd
    • Component/s: javafx

      Description

      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)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Imported: