MephistoLinearGraph constructor

const MephistoLinearGraph({
  1. Key? key,
  2. required List<MephistoLinearGraphPoint> points1,
  3. required List<MephistoLinearGraphPoint> points2,
  4. required List<String> bottomTitles,
  5. required List<String> leftTitles,
  6. required double interval,
  7. required int xInterval,
  8. required DateTime startTime,
  9. double? aspectRatio = 2,
  10. Color? color = green,
  11. Color? secondColor = white,
  12. String? unit = '',
  13. bool? isYInDouble = true,
})

Implementation

const MephistoLinearGraph(
    {super.key,
    required this.points1,
    required this.points2,
    required this.bottomTitles,
    required this.leftTitles,
    required this.interval,
    required this.xInterval,
    required this.startTime,
    this.aspectRatio = 2,
    this.color = green,
    this.secondColor = white,
    this.unit = '',
    this.isYInDouble = true});