You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using a fork from the user @dima117http://dima117.github.io/Chart.Scatter.
In the v2 version of chartjs how the data structure will support Date/Time for x-axis? is something we need to manage externally and pass the converted x-values or will be managed by the library like the Chart.scatter fork?
The text was updated successfully, but these errors were encountered:
sivix
changed the title
Scatter Chart type: Data Structure for 'Time'
Scatter Chart type v2: Data Structure for 'Time'
Aug 3, 2015
V2 now has a time scale. Using the time scale you can pass date strings or date objects in as X coordinates. Moment.js must be included as it provides the actual date parsing functionality. The scale also supports rounding to different time units, and control over how the labels are formatted.
Once #1542 is merged, the time axis will also support passing data as arrays of objects containing x and y attributes, exactly like the scatter chart in v2.
The line-time-scale.html sample file demos the use of the new axis type.
Hi, I'm using a fork from the user @dima117 http://dima117.github.io/Chart.Scatter.
In the v2 version of chartjs how the data structure will support Date/Time for x-axis? is something we need to manage externally and pass the converted x-values or will be managed by the library like the Chart.scatter fork?
The text was updated successfully, but these errors were encountered: