The entire definition must begin with the definition of the axis system. After this, you can list any number of definitions for line and bar charts. Each part definition must be enclosed in square brackets, just like the entire definition:
[ [af_1] , | [ af_2] , | [dg_l_1] , ..., | [ dg_l_ n1 ] , | [ dg_b_ 1 ] , ..., [ dg_b_ n2 ]]
If lines and bars are to be used simultaneously, a second coordinates system will automatically be applied. This can, however, be changed by the definition of a second coordinates system. An example of the available options is listed as follows:
[
[['x-AXIS'],['y-axis',0],[[40,250,150],[-1000,-10]],[30,20,0,0]],
[['x-AXIS 2'],['y-axis 2',0],['blue',[0,0]],[30,20,0,0]],
[1,[-1000,-500,0,500,1000],[5,20,40,55,71],['LINE1','red',0]],
[1,[-1000,-500,0,500,1000],[2,20,46,60,83],['LINE2',[200,5,150],3]],
[2,[5,25,16,10,4],['red',3],'group 1'],
[2,[40,35,25,20,12],['red',3],'group 2']
]
The example shows two lines and two groups of bars in two separate coordinate systems.