Skip to content

Does not work with axis type "time". #1

Description

@y0nd0

Data

// [Date, number]
const data = [
  [new Date('2020-01-01'), 42],
  [new Date('2020-01-02'), 87],
  [new Date('2020-01-03'), 27],
  [new Date('2020-01-04'), 13],
  [new Date('2020-01-05'), 7],
  [new Date('2020-01-06'), 33],
  [new Date('2020-01-07'), 66],
];

Scale Option

scales: {
  xAxes: [
    {
      type: 'time',
    },
  ],
}

It only works when I remove the type: 'time' option from the xAxis. (same data)
Otherwise with time type, the line is just not drawing without errors.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions