Data, when represented in the form of tables, is very hard to understand, but the same, when represented graphically by using charts, is comfortable for the eyes and easy to understand. We have seen a lot of charting libraries for web applications. However, the same support was lacking on the desktop application front. Swing didn't have native support for creating charts and we had to rely on third-party applications such as JFreeChart (http://www.jfree.org/jfreechart/). With JavaFX though, we have native support for creating charts, and we are going to show you how to represent the data in the form of charts using the JavaFX chart components.
JavaFX supports the following chart types:
- Bar chart
- Line chart
- Pie chart ...