I am showing a graph on HTML5 canvas using the flot charting library for a between a start date and an end date. It's fine as long as the period is less than a year or so but if the user selects a big time period I will have to send large dataset and have browser process it every now and then. We have data points on daily basis.
What would be a good approach to solve an issue like this ? I am guessing it will require some normalization of data and rejecting certain datapoints based on how long the time period is.
Or I should restrict user to a max time period range ?