Charts
JavaFX provides the following chart components for data visualization in the javafx.scene.chart package:
LineChart: Adds a line between the data points in a series. Typically used to present the trends over time.AreaChart: Similar toLineChart, but fills the area between the line that connects the data points and the axis. Typically used for comparing cumulated totals over time.BarChart: Presents data as rectangular bars. Used for visualization of discrete data.PieChart: Presents a circle divided into segments (filled with different colors), each segment representing a value as a proportion of the total. We will demonstrate it in this section.BubbleChart: Presents data as two-dimensional oval shapes called bubbles, which allow presenting three parameters.ScatterChart: Presents the data points in a series as is. Useful to identify the presence of a clustering (data correlation).
The following example (the start3() method of the HellowWorld...