O'Reilly logo

ExtGWT Rich Internet Application Cookbook by Odili Charles Opute

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

Using a line chart

The line chart is a simple yet very useful visualization that draws a line across the calibrated points of intersection on both axes such that it becomes easier for one to see a sequence or path flow for the data. It is mostly used to show the occurrence of data over time but it can be well suited for other purposes.

Using a line chart

How to do it...

Create a Chart object with the correct path to the open-flash-chart.swf file, then create a ChartModel and a LineChart configuration object. A XAxis and then a YAxis object configured with an appropriate range need to be set on ChartModel using the setXAxis() and setYAxis() method respectively. Once ...

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