- java.lang.Object
- 
- javafx.scene.chart.XYChart.Series<X,Y>
 
- 
- 
Property SummaryProperties Type Property Description ReadOnlyObjectProperty<XYChart<X,Y>>chartReference to the chart this series belongs toObjectProperty<ObservableList<XYChart.Data<X,Y>>>dataObservableList of data items that make up this seriesStringPropertynameThe user displayable name for this seriesObjectProperty<Node>nodeThe node to display for this series.
 - 
Constructor SummaryConstructors Constructor Description Series()Construct a empty seriesSeries(String name, ObservableList<XYChart.Data<X,Y>> data)Constructs a named Series and populates it with the givenObservableListdata.Series(ObservableList<XYChart.Data<X,Y>> data)Constructs a Series and populates it with the givenObservableListdata.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadOnlyObjectProperty<XYChart<X,Y>>chartProperty()Reference to the chart this series belongs toObjectProperty<ObservableList<XYChart.Data<X,Y>>>dataProperty()ObservableList of data items that make up this seriesXYChart<X,Y>getChart()Gets the value of the property chart.ObservableList<XYChart.Data<X,Y>>getData()Gets the value of the property data.StringgetName()Gets the value of the property name.NodegetNode()Gets the value of the property node.StringPropertynameProperty()The user displayable name for this seriesObjectProperty<Node>nodeProperty()The node to display for this series.voidsetData(ObservableList<XYChart.Data<X,Y>> value)Sets the value of the property data.voidsetName(String value)Sets the value of the property name.voidsetNode(Node value)Sets the value of the property node.StringtoString()Returns a string representation of thisSeriesobject.
 
- 
- 
- 
Property Detail- 
chartpublic final ReadOnlyObjectProperty<XYChart<X,Y>> chartProperty Reference to the chart this series belongs to- See Also:
- getChart()
 
 - 
namepublic final StringProperty nameProperty The user displayable name for this series- See Also:
- getName(),- setName(String)
 
 - 
nodepublic final ObjectProperty<Node> nodeProperty The node to display for this series. This is created by the chart if it uses nodes to represent the whole series. For example line chart uses this for the line but scatter chart does not use it. This node will be set as soon as the series is added to the chart. You can then get it to add mouse listeners etc.- See Also:
- getNode(),- setNode(Node)
 
 - 
datapublic final ObjectProperty<ObservableList<XYChart.Data<X,Y>>> dataProperty ObservableList of data items that make up this series- See Also:
- getData(),- setData(ObservableList)
 
 
- 
 - 
Constructor Detail- 
Seriespublic Series() Construct a empty series
 - 
Seriespublic Series(ObservableList<XYChart.Data<X,Y>> data) Constructs a Series and populates it with the givenObservableListdata.- Parameters:
- data- ObservableList of XYChart.Data
 
 - 
Seriespublic Series(String name, ObservableList<XYChart.Data<X,Y>> data) Constructs a named Series and populates it with the givenObservableListdata.- Parameters:
- name- a name for the series
- data- ObservableList of XYChart.Data
 
 
- 
 - 
Method Detail- 
getChartpublic final XYChart<X,Y> getChart() Gets the value of the property chart.- Property description:
- Reference to the chart this series belongs to
 
 - 
chartPropertypublic final ReadOnlyObjectProperty<XYChart<X,Y>> chartProperty() Reference to the chart this series belongs to- See Also:
- getChart()
 
 - 
getNamepublic final String getName() Gets the value of the property name.- Property description:
- The user displayable name for this series
 
 - 
setNamepublic final void setName(String value) Sets the value of the property name.- Property description:
- The user displayable name for this series
 
 - 
namePropertypublic final StringProperty nameProperty() The user displayable name for this series- See Also:
- getName(),- setName(String)
 
 - 
getNodepublic final Node getNode() Gets the value of the property node.- Property description:
- The node to display for this series. This is created by the chart if it uses nodes to represent the whole series. For example line chart uses this for the line but scatter chart does not use it. This node will be set as soon as the series is added to the chart. You can then get it to add mouse listeners etc.
 
 - 
setNodepublic final void setNode(Node value) Sets the value of the property node.- Property description:
- The node to display for this series. This is created by the chart if it uses nodes to represent the whole series. For example line chart uses this for the line but scatter chart does not use it. This node will be set as soon as the series is added to the chart. You can then get it to add mouse listeners etc.
 
 - 
nodePropertypublic final ObjectProperty<Node> nodeProperty() The node to display for this series. This is created by the chart if it uses nodes to represent the whole series. For example line chart uses this for the line but scatter chart does not use it. This node will be set as soon as the series is added to the chart. You can then get it to add mouse listeners etc.- See Also:
- getNode(),- setNode(Node)
 
 - 
getDatapublic final ObservableList<XYChart.Data<X,Y>> getData() Gets the value of the property data.- Property description:
- ObservableList of data items that make up this series
 
 - 
setDatapublic final void setData(ObservableList<XYChart.Data<X,Y>> value) Sets the value of the property data.- Property description:
- ObservableList of data items that make up this series
 
 - 
dataPropertypublic final ObjectProperty<ObservableList<XYChart.Data<X,Y>>> dataProperty() ObservableList of data items that make up this series- See Also:
- getData(),- setData(ObservableList)
 
 
- 
 
-