<--previous | contents | next-->

# Floating Bar Graphs

FloatingBar | FloatingBar3D

## Data Format

The FloatingBar .setData() method accepts an arbitrary number of tuples. The first element of the tuple is a list of the lower values of the floating bar, and the second element is a list of the upper values. Here is an example that plots a single set of data (spaced for clarity):

`

    x.setData(
                    (
                        [10, 20, 40, 20, 0],
                        [60, 90, 80, 50, 80]
                    )
                )

`

... and for multiple sets we might do the following:

`

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

`

<--previous | contents | next--> | (12/31/03)

PyGDChart User's Manual