MephistoLinearGraph constructor
const
MephistoLinearGraph({ - Key? key,
- required List<MephistoLinearGraphPoint> points1,
- required List<MephistoLinearGraphPoint> points2,
- required List<String> bottomTitles,
- required List<String> leftTitles,
- required double interval,
- required int xInterval,
- required DateTime startTime,
- double? aspectRatio = 2,
- Color? color = green,
- Color? secondColor = white,
- String? unit = '',
- 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});