I have a dataset of dates and scores, with one score per month, that looks something like this:
Date Score
...
11/16/2012 14.30
12/14/2012 14.40
01/25/2013 12.10
02/22/2013 12.30
03/22/2013 16.10
04/26/2013 13.60
05/24/2013 16.80
06/21/2013 16.50
07/26/2013 16.20
08/23/2013 16.00
09/27/2013 13.60
10/25/2013 12.60
11/29/2013 8.00
I'm using ZingChart to display this data on a line graph. I'm trying to provide full customization capability to the user, including the ability to change the data from monthly (the default) to quarterly or semi-annually. As in, if the user chooses "quarterly", it should only show every 3rd month (moving backwards - so it would show the data for 11/29, 8/23, 5/24, etc...).
How can I get ZingChart to only show every nth point? (And toggle between these increments easily)