Improved the x-axis. Scaled height based on JSON length.

Fixed the x-axis resizing.
Made the height of a bar chart scale depending on the number of data points.
Added an optional parameter for ticks
Figured out how to move the xAxis to the bottom