Constructor and Description |
---|
Series()
Construct a empty series
|
Series(ObservableList<XYChart.Data<X,Y>> data)
Constructs a Series and populates it with the given
ObservableList data. |
Series(String name,
ObservableList<XYChart.Data<X,Y>> data)
Constructs a named Series and populates it with the given
ObservableList data. |
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<XYChart<X,Y>> |
chartProperty() |
ObjectProperty<ObservableList<XYChart.Data<X,Y>>> |
dataProperty() |
XYChart<X,Y> |
getChart() |
ObservableList<XYChart.Data<X,Y>> |
getData() |
String |
getName() |
Node |
getNode() |
StringProperty |
nameProperty() |
ObjectProperty<Node> |
nodeProperty() |
void |
setData(ObservableList<XYChart.Data<X,Y>> value) |
void |
setName(String value) |
void |
setNode(Node value) |
String |
toString()
Returns a string representation of this
Series object. |
public Series()
public Series(ObservableList<XYChart.Data<X,Y>> data)
ObservableList
data.data
- ObservableList of XYChart.Datapublic Series(String name, ObservableList<XYChart.Data<X,Y>> data)
ObservableList
data.name
- a name for the seriesdata
- ObservableList of XYChart.Datapublic final ReadOnlyObjectProperty<XYChart<X,Y>> chartProperty()
public final String getName()
public final void setName(String value)
public final StringProperty nameProperty()
public final Node getNode()
public final void setNode(Node value)
public final ObjectProperty<Node> nodeProperty()
public final ObservableList<XYChart.Data<X,Y>> getData()
public final void setData(ObservableList<XYChart.Data<X,Y>> value)
public final ObjectProperty<ObservableList<XYChart.Data<X,Y>>> dataProperty()
Copyright © 2020. All rights reserved.