How to plot a date range on X-axis in Flot Charts?
I'm using Flot charts to display data for a certain period (to be selected by the user, e.g. last 30 days, last 7 days, from 1st Jan 2013 to 3rd Mar 2013 etc) So I want to display a line chart with x-axis as the date. E.g. if I've two days, startDate and endDate how do I make the X-axis display something like: 1 Jan 2013 | 2 Jan 2013........................3 Mar 2013 My code is as follows: The data (currently it's static). var mydata = [ [1, 2.4], [2, 3.4 ], [3, 4.5 ], [4, 5 ], [5, 5], [6, 5], [7, 2 ], [8, 1 ], [9, 1.5 ], [10, 2.5 ], [11, 3.5], [12, 4 ], [13, 4 ], [14, 2.4], [15, 3.4 ], [16, 4