The definition of a bar chart (dg_b)
For a bar chart, a group of data is defined as follows:
grouptype_n , [ dataarray_1_r , ... , |dataarray_n_r ] , [ barcolor_str/array ] , | bargroupname_1_str , [ | barelementlabel_1_str , ... , barelementlabel_1_str ] , | barclass_n
where :
- grouptype := 2 (for bar chart).
- dataarray : Contains the data for the group.
- barcolour : Color of the group's bars.
- bargroupname : Name of the group.
- barelementlabel : Names for individual elements.
- barclass : Display as group (=0) or sorted by elements (=1).