- java.lang.Object
- 
- javafx.scene.chart.XYChart.Data<X,Y>
 
- 
- 
Property SummaryProperties Type Property Description ObjectProperty<Object>extraValueThe generic data value to be plotted in any way the chart needs.ObjectProperty<Node>nodeThe node to display for this data item.ObjectProperty<X>XValueThe generic data value to be plotted on the X axis.ObjectProperty<Y>YValueThe generic data value to be plotted on the Y axis.
 - 
Constructor SummaryConstructors Constructor Description Data()Creates an empty XYChart.Data object.Data(X xValue, Y yValue)Creates an instance of XYChart.Data object and initializes the X,Y data values.Data(X xValue, Y yValue, Object extraValue)Creates an instance of XYChart.Data object and initializes the X,Y data values and extraValue.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectProperty<Object>extraValueProperty()The generic data value to be plotted in any way the chart needs.ObjectgetExtraValue()Gets the value of the property extraValue.NodegetNode()Gets the value of the property node.XgetXValue()Gets the generic data value to be plotted on the X axis.YgetYValue()Gets the generic data value to be plotted on the Y axis.ObjectProperty<Node>nodeProperty()The node to display for this data item.voidsetExtraValue(Object value)Sets the value of the property extraValue.voidsetNode(Node value)Sets the value of the property node.voidsetXValue(X value)Sets the generic data value to be plotted on the X axis.voidsetYValue(Y value)Sets the generic data value to be plotted on the Y axis.StringtoString()Returns a string representation of thisDataobject.ObjectProperty<X>XValueProperty()The generic data value to be plotted on the X axis.ObjectProperty<Y>YValueProperty()The generic data value to be plotted on the Y axis.
 
- 
- 
- 
Property Detail- 
XValuepublic final ObjectProperty<X> XValueProperty The generic data value to be plotted on the X axis.- See Also:
- getXValue(),- setXValue(X)
 
 - 
YValuepublic final ObjectProperty<Y> YValueProperty The generic data value to be plotted on the Y axis.- See Also:
- getYValue(),- setYValue(Y)
 
 - 
extraValuepublic final ObjectProperty<Object> extraValueProperty The generic data value to be plotted in any way the chart needs. For example used as the radius for BubbleChart.- See Also:
- getExtraValue(),- setExtraValue(Object)
 
 - 
nodepublic final ObjectProperty<Node> nodeProperty The node to display for this data item. You can either create your own node and set it on the data item before you add the item to the chart. Otherwise the chart will create a node for you that has the default representation for the chart type. This node will be set as soon as the data is added to the chart. You can then get it to add mouse listeners etc. Charts will do their best to position and size the node appropriately, for example on a Line or Scatter chart this node will be positioned centered on the data values position. For a bar chart this is positioned and resized as the bar for this data item.- See Also:
- getNode(),- setNode(Node)
 
 
- 
 - 
Method Detail- 
getXValuepublic final X getXValue() Gets the generic data value to be plotted on the X axis.- Returns:
- the generic data value to be plotted on the X axis.
 
 - 
setXValuepublic final void setXValue(X value) Sets the generic data value to be plotted on the X axis.- Parameters:
- value- the generic data value to be plotted on the X axis.
 
 - 
XValuePropertypublic final ObjectProperty<X> XValueProperty() The generic data value to be plotted on the X axis.- See Also:
- getXValue(),- setXValue(X)
 
 - 
getYValuepublic final Y getYValue() Gets the generic data value to be plotted on the Y axis.- Returns:
- the generic data value to be plotted on the Y axis.
 
 - 
setYValuepublic final void setYValue(Y value) Sets the generic data value to be plotted on the Y axis.- Parameters:
- value- the generic data value to be plotted on the Y axis.
 
 - 
YValuePropertypublic final ObjectProperty<Y> YValueProperty() The generic data value to be plotted on the Y axis.- See Also:
- getYValue(),- setYValue(Y)
 
 - 
getExtraValuepublic final Object getExtraValue() Gets the value of the property extraValue.- Property description:
- The generic data value to be plotted in any way the chart needs. For example used as the radius for BubbleChart.
 
 - 
setExtraValuepublic final void setExtraValue(Object value) Sets the value of the property extraValue.- Property description:
- The generic data value to be plotted in any way the chart needs. For example used as the radius for BubbleChart.
 
 - 
extraValuePropertypublic final ObjectProperty<Object> extraValueProperty() The generic data value to be plotted in any way the chart needs. For example used as the radius for BubbleChart.- See Also:
- getExtraValue(),- setExtraValue(Object)
 
 - 
getNodepublic final Node getNode() Gets the value of the property node.- Property description:
- The node to display for this data item. You can either create your own node and set it on the data item before you add the item to the chart. Otherwise the chart will create a node for you that has the default representation for the chart type. This node will be set as soon as the data is added to the chart. You can then get it to add mouse listeners etc. Charts will do their best to position and size the node appropriately, for example on a Line or Scatter chart this node will be positioned centered on the data values position. For a bar chart this is positioned and resized as the bar for this data item.
 
 - 
setNodepublic final void setNode(Node value) Sets the value of the property node.- Property description:
- The node to display for this data item. You can either create your own node and set it on the data item before you add the item to the chart. Otherwise the chart will create a node for you that has the default representation for the chart type. This node will be set as soon as the data is added to the chart. You can then get it to add mouse listeners etc. Charts will do their best to position and size the node appropriately, for example on a Line or Scatter chart this node will be positioned centered on the data values position. For a bar chart this is positioned and resized as the bar for this data item.
 
 - 
nodePropertypublic final ObjectProperty<Node> nodeProperty() The node to display for this data item. You can either create your own node and set it on the data item before you add the item to the chart. Otherwise the chart will create a node for you that has the default representation for the chart type. This node will be set as soon as the data is added to the chart. You can then get it to add mouse listeners etc. Charts will do their best to position and size the node appropriately, for example on a Line or Scatter chart this node will be positioned centered on the data values position. For a bar chart this is positioned and resized as the bar for this data item.- See Also:
- getNode(),- setNode(Node)
 
 
- 
 
-