<--previous | contents | next-->

Bar Graphs

Bar
Bar3D

Data Format

The .setData() method accepts simple lists of integers or floats. The following would plot a single set of data:

x.setData([20, 100, 80, 30, 50])

... and this would plot multiple sets of data:

x.setData([20, 100, 80, 30, 50], [30, 60, 70, 20, 10], [80, 100, 10, 30, 40])

<--previous | contents | next--> (12/31/03)
PyGDChart User's Manual