when the chart render, the line between (2012, 01, 5) to (2012, 01, 8) have a three days interval,
not like the line between (2012, 01, 1) to (2012, 01, 2) only have one day interval. I want to have
a chart only one day interval, how can I do that ?
ps: because like stock charts, only have five days datas one week, so I want draw a continue charts not include Saturday, Sunday, holiday, etc…
When you set date-time values to “x” it is not possible to skip weekends and holidays. Axis behaves linearly across the date range.
In cases where you want to show only working days, then its better to use “label” instead of “x”. But it requires you to format the date/time into required string format before assigning. You can use libraries like momentjs to do the same. Here is a page on label