JavaFX 1.2 + Chart API’s

We are welcoming JavaFX 1.2 with tons of new feature. Noticeable once :

1. Control UI API

2. Chart API

3. Persistence and Storage

4. Speed Improvement

5. Yes, its for Linux and Solaris as well.

Details of it can be read at http://javafx.com. I will put here some codes for Chart API.

One of the most effective API’s got introduced into the Marina(JavaFX 1.2) release are Control and Chart API’s. As there are lot of questions on chart API, here is the small code for making some charts, it almost follow the same protocol with all chart API’s.

We can do hell lot of things with it. I have just used the default and shown how action() can be written on slices.

Source code : Here

Here goes the bubble chart, basic funda is same, insert the number array into BubbleChart.Data. Get all the Data into series and get that series into the Chart API. For more, please see the source Code.

More will be posted soon, or a jumbo one with all of it in one go ! You can download the latest SDK from here. Please let me know if there is any issue. Enjoy FX.

Posted in graphics, real world

Go to Source

Leave a Reply

You must be logged in to post a comment.