DojoBarGraph widget

The DojoBarGraph widget creates bar graphs. Use this widget to create vertical or horizontal bar graphs.

Fields

barGap
The gap, in number of pixels, between the bars. The default value is 5.
data
Required. The data that the graph represents. Data must be in array format.
height
The total height of the graph
themeColor
The color of the graph. You can use blue, red, cyan, green, orange, and purple. The default value is blue.
vertical
Indicates whether the bars are vertical or horizontal. The default value is true.
true
The bars are vertical.
false
The bars are horizontal.
width
The total width of the graph

Other supported fields and functions are described in the following topics in the EGL Programmer’s Guide: “Rich UI widget fields” and ”Rich UI widget functions.”

Use of this widget requires the following statement:
import dojo.widgets.DojoBarGraph;