SimpleScatterPlotMatrixChart constructor

const SimpleScatterPlotMatrixChart({
  1. Key? key,
  2. List<String> variableLabels = const [],
  3. required List<SimpleScatterPlotMatrixPoint> points,
  4. SimpleBarChartStyle style = SimpleBarChartStyle.elegant,
  5. List<double> minValues = const [],
  6. List<double> maxValues = const [],
  7. double height = 320,
  8. EdgeInsets padding = _defaultPadding,
  9. List<Color>? palette,
  10. Color? pointColor,
  11. Color? histogramColor,
  12. Color? gridColor,
  13. Color? axisColor,
  14. Color? activeColor,
  15. TextStyle? labelStyle,
  16. TextStyle? valueStyle,
  17. bool showGrid = true,
  18. bool showDiagonalHistograms = true,
  19. bool showVariableLabels = true,
  20. bool showLegend = true,
  21. bool showTooltip = true,
  22. bool showActivePoint = true,
  23. int histogramBinCount = 6,
  24. double pointRadius = 3.2,
  25. double pointOpacity = 0.78,
  26. SimpleScatterPlotMatrixValueFormatter? valueFormatter,
  27. SimpleScatterPlotMatrixTapCallback? onPointTap,
  28. SimpleScatterPlotMatrixTooltipBuilder? tooltipBuilder,
  29. WidgetBuilder? emptyBuilder,
  30. String? semanticLabel,
  31. bool excludeFromSemantics = false,
  32. Duration animationDuration = const Duration(milliseconds: 700),
  33. Curve animationCurve = Curves.easeOutCubic,
})

Implementation

const SimpleScatterPlotMatrixChart({
  super.key,
  this.variableLabels = const [],
  required this.points,
  this.style = SimpleBarChartStyle.elegant,
  this.minValues = const [],
  this.maxValues = const [],
  this.height = 320,
  this.padding = _defaultPadding,
  this.palette,
  this.pointColor,
  this.histogramColor,
  this.gridColor,
  this.axisColor,
  this.activeColor,
  this.labelStyle,
  this.valueStyle,
  this.showGrid = true,
  this.showDiagonalHistograms = true,
  this.showVariableLabels = true,
  this.showLegend = true,
  this.showTooltip = true,
  this.showActivePoint = true,
  this.histogramBinCount = 6,
  this.pointRadius = 3.2,
  this.pointOpacity = 0.78,
  this.valueFormatter,
  this.onPointTap,
  this.tooltipBuilder,
  this.emptyBuilder,
  this.semanticLabel,
  this.excludeFromSemantics = false,
  this.animationDuration = const Duration(milliseconds: 700),
  this.animationCurve = Curves.easeOutCubic,
}) : assert(height > 0),
     assert(histogramBinCount > 0),
     assert(pointRadius >= 0),
     assert(pointOpacity >= 0 && pointOpacity <= 1);