DesignChartPoint.time constructor

DesignChartPoint.time(
  1. DateTime x,
  2. double? y
)

A point at a time: x holds its milliseconds since the epoch.

Implementation

DesignChartPoint.time(DateTime x, this.y)
  : x = x.millisecondsSinceEpoch.toDouble();