added support to set the max y value for the chart. Added better layout of the data points