GraphChart constructor

GraphChart({
  1. required double width,
  2. required double height,
  3. required double stroke,
  4. required List<Map<String, double>> yValues,
  5. required List<Map<String, double>> xValues,
  6. required Color backgroundChartGradientOne,
  7. required Color backgroundChartGradientTwo,
  8. required Color graphGradientOne,
  9. required Color graphGradientTwo,
  10. required Color colorGraphLine,
})

Implementation

GraphChart({required this.width,required this.height,required this.stroke,required this.yValues,required this.xValues,required this.backgroundChartGradientOne,required this.backgroundChartGradientTwo,required this.graphGradientOne,required this.graphGradientTwo,required this.colorGraphLine});