Hi, I trying to build a chart similar to attachment .
I'm using SfCartesianChart,
is there way to get 24h like in pic, I've tried this:
primaryXAxis:DateTimeAxis(
intervalType: DateTimeIntervalType.hours,
desiredIntervals: 2,
interval: 2,
maximum: DateTime.now().add(
Duration(hours: 24, minutes: 59, seconds: 59),
),
// sets the date format to 12 hour
dateFormat: DateFormat.jm(),
),
but it displays 12:00PM - 12:00 PM
also, how i can update Trackball according to the current time?
Attachment: chart_85c198a1.rar