# Uses of Class
javafx.scene.chart.XYChart.Series

Packages that use XYChart.Series
Package
Description
javafx.scene.chart
The JavaFX User Interface provides a set of chart components that are a very convenient way for data visualization.

- ## Uses of XYChart.Series in javafx.scene.chart

  Methods in javafx.scene.chart that return types with arguments of type XYChart.Series
  Modifier and Type
  Method
  Description
  `final ObjectProperty<ObservableList<XYChart.Series<X,Y>>>`
  XYChart.`dataProperty()`
  XYCharts data
  `final ObservableList<XYChart.Series<X,Y>>`
  XYChart.`getData()`
  Gets the value of the `data` property.
  `protected final Iterator<XYChart.Series<X,Y>>`
  XYChart.`getDisplayedSeriesIterator()`
  XYChart maintains a list of all series currently displayed this includes all current series + any series that have recently been deleted that are in the process of being faded (animated) out.
  Methods in javafx.scene.chart with parameters of type XYChart.Series
  Modifier and Type
  Method
  Description
  `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.`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 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.
  `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.`removeSeriesFromDisplay(XYChart.Series<X,Y> series)`
  This should be called from seriesRemoved() when you are finished with any animation for deleting the series from the chart.
  `protected void`
  AreaChart.`seriesAdded(XYChart.Series<X,Y> series, int seriesIndex)`
  `protected void`
  BarChart.`seriesAdded(XYChart.Series<X,Y> series, int seriesIndex)`
  `protected void`
  BubbleChart.`seriesAdded(XYChart.Series<X,Y> series, int seriesIndex)`
  `protected void`
  LineChart.`seriesAdded(XYChart.Series<X,Y> series, int seriesIndex)`
  `protected void`
  ScatterChart.`seriesAdded(XYChart.Series<X,Y> series, int seriesIndex)`
  A series has been added to the charts data model.
  `protected void`
  StackedAreaChart.`seriesAdded(XYChart.Series<X,Y> series, int seriesIndex)`
  `protected void`
  StackedBarChart.`seriesAdded(XYChart.Series<X,Y> series, int seriesIndex)`
  A series has been added to the charts data model.
  `protected abstract void`
  XYChart.`seriesAdded(XYChart.Series<X,Y> series, int seriesIndex)`
  A series has been added to the charts data model.
  `protected void`
  AreaChart.`seriesRemoved(XYChart.Series<X,Y> series)`
  `protected void`
  BarChart.`seriesRemoved(XYChart.Series<X,Y> series)`
  `protected void`
  BubbleChart.`seriesRemoved(XYChart.Series<X,Y> series)`
  `protected void`
  LineChart.`seriesRemoved(XYChart.Series<X,Y> series)`
  `protected void`
  ScatterChart.`seriesRemoved(XYChart.Series<X,Y> series)`
  A series has been removed from the data model but it is still visible on the chart.
  `protected void`
  StackedAreaChart.`seriesRemoved(XYChart.Series<X,Y> series)`
  `protected void`
  StackedBarChart.`seriesRemoved(XYChart.Series<X,Y> series)`
  `protected abstract void`
  XYChart.`seriesRemoved(XYChart.Series<X,Y> series)`
  A series has been removed from the data model but it is still visible on the chart.
  Method parameters in javafx.scene.chart with type arguments of type XYChart.Series
  Modifier and Type
  Method
  Description
  `protected void`
  XYChart.`seriesChanged(ListChangeListener.Change<? extends XYChart.Series> c)`
  Called when each atomic change is made to the list of series for this chart
  `final void`
  XYChart.`setData(ObservableList<XYChart.Series<X,Y>> value)`
  Sets the value of the `data` property.
  Constructor parameters in javafx.scene.chart with type arguments of type XYChart.Series
  Modifier
  Constructor
  Description
  ``
  `AreaChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new Area Chart with the given axis and data
  ``
  `BarChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new BarChart with the given axis and data.
  ``
  `BarChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data, double categoryGap)`
  Construct a new BarChart with the given axis and data.
  ``
  `BubbleChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new BubbleChart with the given axis and data.
  ``
  `LineChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new LineChart with the given axis and data.
  ``
  `ScatterChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new ScatterChart with the given axis and data.
  ``
  `StackedAreaChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new Area Chart with the given axis and data.
  ``
  `StackedBarChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new StackedBarChart with the given axis and data.
  ``
  `StackedBarChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data, double categoryGap)`
  Construct a new StackedBarChart with the given axis and data.