SimpleQQPlotChart constructor
const
SimpleQQPlotChart({
- Key? key,
- required List<
SimpleQQPlotSeries> series, - SimpleBarChartStyle style = SimpleBarChartStyle.elegant,
- double? minX,
- double? maxX,
- double? minY,
- double? maxY,
- double height = 260,
- EdgeInsets padding = _defaultPadding,
- String? xAxisLabel,
- String? yAxisLabel,
- Color? pointColor,
- Color? gridColor,
- Color? axisColor,
- Color? referenceLineColor,
- Color? fitLineColor,
- Color? activeColor,
- List<
Color> ? palette, - TextStyle? labelStyle,
- TextStyle? valueStyle,
- bool showGrid = true,
- bool showValues = false,
- bool showLegend = true,
- bool showTooltip = true,
- bool showActivePoint = true,
- bool showReferenceLine = true,
- bool showFitLine = false,
- bool showAxisLabels = true,
- int gridLineCount = 4,
- double pointRadius = 5,
- SimpleQQPlotValueFormatter? xValueFormatter,
- SimpleQQPlotValueFormatter? yValueFormatter,
- SimpleQQPlotValueFormatter? deviationFormatter,
- SimpleQQPlotPointTapCallback? onPointTap,
- SimpleQQPlotTooltipBuilder? tooltipBuilder,
- WidgetBuilder? emptyBuilder,
- String? semanticLabel,
- bool excludeFromSemantics = false,
- Duration animationDuration = const Duration(milliseconds: 700),
- Curve animationCurve = Curves.easeOutCubic,
Implementation
const SimpleQQPlotChart({
super.key,
required this.series,
this.style = SimpleBarChartStyle.elegant,
this.minX,
this.maxX,
this.minY,
this.maxY,
this.height = 260,
this.padding = _defaultPadding,
this.xAxisLabel,
this.yAxisLabel,
this.pointColor,
this.gridColor,
this.axisColor,
this.referenceLineColor,
this.fitLineColor,
this.activeColor,
this.palette,
this.labelStyle,
this.valueStyle,
this.showGrid = true,
this.showValues = false,
this.showLegend = true,
this.showTooltip = true,
this.showActivePoint = true,
this.showReferenceLine = true,
this.showFitLine = false,
this.showAxisLabels = true,
this.gridLineCount = 4,
this.pointRadius = 5,
this.xValueFormatter,
this.yValueFormatter,
this.deviationFormatter,
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(gridLineCount >= 2),
assert(pointRadius >= 0);