O'Reilly logo

JavaFX™ Developer’s Guide by Kim Topley

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

26. Charts

A chart is a two-dimensional or three-dimensional representation of data. The JavaFX platform provides six different types of chart, two of which also have three-dimensional variants. The chart classes are all nodes, so you can incorporate them anywhere within a scene graph and, of course, you can apply transformations to them and even animate them, if you need to.

In the first part of this chapter, we discuss the six basic chart types in some detail. Two things should immediately strike you as you look at the examples in this chapter. First, it is extremely easy to create a chart: All you have to do is create the data model, create the chart object, and then install the data in the chart; everything else is automatic. Second, even ...

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