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

A bar chart is a visualization with rectangular bars having lengths proportional to the values represented. These rectangular bars can be drawn or plotted vertically (by tradition) or horizontally (if supported by the API).

Using a bar chart

Getting ready

The charts API is not core to GXT, instead it's a plugin based on the Open Flash Charts 2 library and this requires some extra plumbing to get it up and running. The required steps are as follows:

  1. Include the charts module in your .gwt.xml file by adding the line <inherits name= "com.extjs gxt.charts.chart" /> to the .gwt.xml file.
  2. If you have not already done so, copy the chart and flash folders ...

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