Moved the data loading out from timeseriesChart plugin and added an option to set the max value of y axis.