Java FX LineChart basics
From MyWiki
Creating a Line Chart
To create a line chart, at a minimum, you must define two axes, create the LineChart object by instantiating the LineChart class, create one or more series of data by using the XYChart.Series class, and assign the data to the chart. Example 32-1 implements these tasks.
Example 32-1 Simple Line Chart