Area charts are similar to line charts so we would highly recommend reading the recipe, Creating a line chart. An area chart is made up of two axes with data plotted on the x and y axis. The data to be plotted is provided as an instance of XYChart.Series. The axis of the chart can be either javafx.scene.chart.CategoryAxis or javafx.scene.chart.NumberAxis.
XYChart.Series contains data encapsulated in instances of XYChart.Data.