Interactive Bar chart configuratorBeta!

An interactive demo of the Bar chart. Use this to see the different features that RGraph supports.

This is an interactive demo of the Bar chart that you can use to see some of the capabilities of RGraph - specifically the Bar chart. Not all of the options and features of RGraph are available (eg tooltip templates aren't available). To see that try grabbing a copy of the download archive. There are over 800 demos in there that run "out of the box" on your desktop.

There are a few examples of charts shown below. You can click on these and the configuration will load for you.

[No canvas support]

Set the cofiguration to a green 3D chart Set the cofiguration to a basic Bar chart Set the cofiguration to a dark themed Bar chart Set the cofiguration to a dark simple grouped Bar chart Set the cofiguration to a blue Bar chart Set the cofiguration to a sketchy variant Bar chart

Chart configuration

You can specify the data for the chart here by giving a comma separated list of numbers bounded by square brackets (just like an array literal in JavaScript). In order to get a grouped or stacked chart you should give an array of arrays as shown below.

// A regular Bar chart
[4,8,6,3,5,2,5] Try it

// A stacked or grouped Bar chart
[
 [4,5,6], [4,1,2],
 [5,7,6], [3,8,9],
 [8,8,9], [4,5,2],
 [4,8,6]
]  Try it
Data

Draw function:
View chart