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 pie chart

A pie chart is a visualization with colored arcs or sectors called slices, within a circle, each representing the value of a distinct fragment of the data as a percentage that is reflected by its size relative to that of other sectors. Most pie chart implementations have labeled slices that are animated during mouse gestures on them. However, a good label and appropriate colors for each slice usually suffice.

Using a pie chart

How to do it...

Create a Chart instance, a ChartModel, and then a PieChart object, set the model on the chart with chart.setChartModel() and then place the chart on the screen with a LayoutContainer. When the data is ready, ...

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