Adding AutoScale
More AutoScale work. Custom Colours for each bar.

Set colors: ["blue", "red"] in dataAttrs. The colours will loop, if there are more bars that colours given.
Add grid option to barchart & linechart
Use 'hasGrid' and 'gridColor' to each axis
Change autoscale function to accept manual min/max
move autoScale, min & max to the axis
Axis Scaleing improvments.

Make sure that factors are round (divisible by 5).
Scale ticks so that if the max tick (eg. 400) is smaller than set max (440), then the top tick will be lower than the top of the axis
Colors for bar charts were looping off by one.