Uses of Class
javafx.scene.chart.XYChart.Data
Package
Description
The JavaFX User Interface provides a set of chart components that
are a very convenient way for data visualization.
-
Uses of XYChart.Data in javafx.scene.chart
Modifier and TypeMethodDescriptionfinal ObjectProperty
<ObservableList<XYChart.Data<X, Y>>> XYChart.Series.dataProperty()
ObservableList of data items that make up this seriesfinal ObservableList
<XYChart.Data<X, Y>> XYChart.Series.getData()
Gets the value of thedata
property.protected final Iterator
<XYChart.Data<X, Y>> XYChart.getDisplayedDataIterator
(XYChart.Series<X, Y> series) XYChart maintains a list of all items currently displayed this includes all current data + any data items recently deleted that are in the process of being faded out.Modifier and TypeMethodDescriptionprotected final ObjectProperty
<Object> XYChart.currentDisplayedExtraValueProperty
(XYChart.Data<X, Y> item) The current displayed extra value property.protected final ObjectProperty
<X> XYChart.currentDisplayedXValueProperty
(XYChart.Data<X, Y> item) The current displayed data value property that is plotted on X axis.protected final ObjectProperty
<Y> XYChart.currentDisplayedYValueProperty
(XYChart.Data<X, Y> item) The current displayed data value property that is plotted on Y axis.protected void
AreaChart.dataItemAdded
(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) protected void
BarChart.dataItemAdded
(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) protected void
BubbleChart.dataItemAdded
(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) protected void
LineChart.dataItemAdded
(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) protected void
ScatterChart.dataItemAdded
(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) Called when a data item has been added to a series.protected void
StackedAreaChart.dataItemAdded
(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) protected void
StackedBarChart.dataItemAdded
(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) protected abstract void
XYChart.dataItemAdded
(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) Called when a data item has been added to a series.protected void
AreaChart.dataItemChanged
(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected void
BarChart.dataItemChanged
(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected void
BubbleChart.dataItemChanged
(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected void
LineChart.dataItemChanged
(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected void
ScatterChart.dataItemChanged
(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected void
StackedAreaChart.dataItemChanged
(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected void
StackedBarChart.dataItemChanged
(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected abstract void
XYChart.dataItemChanged
(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected void
AreaChart.dataItemRemoved
(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) protected void
BarChart.dataItemRemoved
(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) protected void
BubbleChart.dataItemRemoved
(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) protected void
LineChart.dataItemRemoved
(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) protected void
ScatterChart.dataItemRemoved
(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) Called when a data item has been removed from data model but it is still visible on the chart.protected void
StackedAreaChart.dataItemRemoved
(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) protected void
StackedBarChart.dataItemRemoved
(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) protected abstract void
XYChart.dataItemRemoved
(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) Called when a data item has been removed from data model but it is still visible on the chart.protected final Object
XYChart.getCurrentDisplayedExtraValue
(XYChart.Data<X, Y> item) The current displayed data extra value.protected final X
XYChart.getCurrentDisplayedXValue
(XYChart.Data<X, Y> item) The current displayed data value plotted on the X axis.protected final Y
XYChart.getCurrentDisplayedYValue
(XYChart.Data<X, Y> item) The current displayed data value plotted on the Y axis.protected final void
XYChart.removeDataItemFromDisplay
(XYChart.Series<X, Y> series, XYChart.Data<X, Y> item) This should be called from dataItemRemoved() when you are finished with any animation for deleting the item from the chart.protected final void
XYChart.setCurrentDisplayedExtraValue
(XYChart.Data<X, Y> item, Object value) Set the current displayed data extra value.protected final void
XYChart.setCurrentDisplayedXValue
(XYChart.Data<X, Y> item, X value) Set the current displayed data value plotted on X axis.protected final void
XYChart.setCurrentDisplayedYValue
(XYChart.Data<X, Y> item, Y value) Set the current displayed data value plotted on Y axis.Modifier and TypeMethodDescriptionfinal void
XYChart.Series.setData
(ObservableList<XYChart.Data<X, Y>> value) Sets the value of thedata
property.ModifierConstructorDescriptionSeries
(String name, ObservableList<XYChart.Data<X, Y>> data) Constructs a named Series and populates it with the givenObservableList
data.Series
(ObservableList<XYChart.Data<X, Y>> data) Constructs a Series and populates it with the givenObservableList
data.