///class used to provide value for the [DynamicResultChart] to plot the values
class DataPoint {
  ///values that is displayed on the graph and dot is plotted on this
  final double value;

  ///label shown on the bottom of the graph
  String label;
  String referenceValue;
  String actualValue;
  String? unitOfMeasurement;

  DateTime time;
  String displayTime;

  DataPoint({
    required this.value,
    required this.label,
    required this.actualValue,
    required this.time,
    required this.displayTime,
    this.unitOfMeasurement,
    this.referenceValue = '',
  });

  @override
  String toString() {
    return "the time is $time";
  }
}
