O'Reilly logo

JavaFX 1.2 Application Development Cookbook by Vladimir Vivien

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Visualizing data with the JavaFX chart API

Up to this point, all of the recipes in this chapter dealt with retrieving, processing, or storing data. What about visualizing the data? As with other rich client platforms, JavaFX provides a wealth of data visualization tools in the form of the Chart API. This recipe shows you how to use the Chart API to create a visual rendition of your data in the form of charts.

Getting ready

This recipe involves discussion about JavaFX's Chart API located in package javafx.scene.chart. As of version 1.2 of the platform, the API offers support for more than half a dozen charts. All charts, however, share a common implementation design, which makes the creation of all charts a similar exercise. The example presented ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required