Skip to content

Why the x axis dateTime start with 01-02-1980? #1770

@gogommd

Description

@gogommd

I am using the DateTime set at x-axis, but the first value start with 01-02-1980 is not 28-03-2024. How to solve it?
The data's date is 2024-03-26 07:43:00.000

primaryXAxis:
  DateTimeAxis(
      dateFormat: DateFormat('''dd-MM-yyy\nHH:mm'''),
      title: const AxisTitle(text: "Date and Time"),
    ),
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    chartsCharts componentsolvedSolved the query using existing solutions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions