Uses of Class
javafx.scene.chart.XYChart.Data
Packages that use 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
Methods in javafx.scene.chart that return types with arguments of type XYChart.DataModifier 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 thedataproperty.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.Methods in javafx.scene.chart with parameters of type XYChart.DataModifier 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 voidAreaChart.dataItemAdded(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) protected voidBarChart.dataItemAdded(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) protected voidBubbleChart.dataItemAdded(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) protected voidLineChart.dataItemAdded(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) protected voidScatterChart.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 voidStackedAreaChart.dataItemAdded(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) protected voidStackedBarChart.dataItemAdded(XYChart.Series<X, Y> series, int itemIndex, XYChart.Data<X, Y> item) protected abstract voidXYChart.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 voidAreaChart.dataItemChanged(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected voidBarChart.dataItemChanged(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected voidBubbleChart.dataItemChanged(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected voidLineChart.dataItemChanged(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected voidScatterChart.dataItemChanged(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected voidStackedAreaChart.dataItemChanged(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected voidStackedBarChart.dataItemChanged(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected abstract voidXYChart.dataItemChanged(XYChart.Data<X, Y> item) Called when a data item has changed, ie its xValue, yValue or extraValue has changed.protected voidAreaChart.dataItemRemoved(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) protected voidBarChart.dataItemRemoved(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) protected voidBubbleChart.dataItemRemoved(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) protected voidLineChart.dataItemRemoved(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) protected voidScatterChart.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 voidStackedAreaChart.dataItemRemoved(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) protected voidStackedBarChart.dataItemRemoved(XYChart.Data<X, Y> item, XYChart.Series<X, Y> series) protected abstract voidXYChart.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 ObjectXYChart.getCurrentDisplayedExtraValue(XYChart.Data<X, Y> item) The current displayed data extra value.protected final XXYChart.getCurrentDisplayedXValue(XYChart.Data<X, Y> item) The current displayed data value plotted on the X axis.protected final YXYChart.getCurrentDisplayedYValue(XYChart.Data<X, Y> item) The current displayed data value plotted on the Y axis.protected final voidXYChart.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 voidXYChart.setCurrentDisplayedExtraValue(XYChart.Data<X, Y> item, Object value) Set the current displayed data extra value.protected final voidXYChart.setCurrentDisplayedXValue(XYChart.Data<X, Y> item, X value) Set the current displayed data value plotted on X axis.protected final voidXYChart.setCurrentDisplayedYValue(XYChart.Data<X, Y> item, Y value) Set the current displayed data value plotted on Y axis.Method parameters in javafx.scene.chart with type arguments of type XYChart.DataModifier and TypeMethodDescriptionfinal voidXYChart.Series.setData(ObservableList<XYChart.Data<X, Y>> value) Sets the value of thedataproperty.Constructor parameters in javafx.scene.chart with type arguments of type XYChart.DataModifierConstructorDescriptionSeries(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.