I have a line chart that displays some data, this data is collected on a daily basis, so currently I have a chart point for each day. That works fine, however as this data increases I will have some data sets with many weeks or months worth of data, where as others will only have a few days worth.
What I would like to do is have the chart deal with this dynamically, so if I have, say, over 4 weeks of data, then it should only plot a point for each week (and make this an average of the daily data for that week). If it is less than 4 weeks, plot a point for each day.
Is there an easy way to do this with the charting component, rather than having to pre -process the data before it gets there?
I am using the MVC wrapper.
What I would like to do is have the chart deal with this dynamically, so if I have, say, over 4 weeks of data, then it should only plot a point for each week (and make this an average of the daily data for that week). If it is less than 4 weeks, plot a point for each day.
Is there an easy way to do this with the charting component, rather than having to pre -process the data before it gets there?
I am using the MVC wrapper.