SimpleScatterPlotMatrixChart constructor
const
SimpleScatterPlotMatrixChart({
- Key? key,
- List<
String> variableLabels = const [], - required List<
SimpleScatterPlotMatrixPoint> points, - SimpleBarChartStyle style = SimpleBarChartStyle.elegant,
- List<
double> minValues = const [], - List<
double> maxValues = const [], - double height = 320,
- EdgeInsets padding = _defaultPadding,
- List<
Color> ? palette, - Color? pointColor,
- Color? histogramColor,
- Color? gridColor,
- Color? axisColor,
- Color? activeColor,
- TextStyle? labelStyle,
- TextStyle? valueStyle,
- bool showGrid = true,
- bool showDiagonalHistograms = true,
- bool showVariableLabels = true,
- bool showLegend = true,
- bool showTooltip = true,
- bool showActivePoint = true,
- int histogramBinCount = 6,
- double pointRadius = 3.2,
- double pointOpacity = 0.78,
- SimpleScatterPlotMatrixValueFormatter? valueFormatter,
- SimpleScatterPlotMatrixTapCallback? onPointTap,
- SimpleScatterPlotMatrixTooltipBuilder? tooltipBuilder,
- WidgetBuilder? emptyBuilder,
- String? semanticLabel,
- bool excludeFromSemantics = false,
- Duration animationDuration = const Duration(milliseconds: 700),
- 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);