showNormalDistributionCurve property
Renders a spline curve for the normal distribution, calculated based on the series data points.
This spline curve type can be changed using the splineType
property.
Defaults to false
.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <HistogramSeries<SalesData, num>>[
HistogramSeries<SalesData, num>(
showNormalDistributionCurve: true
),
],
);
}
Implementation
final bool showNormalDistributionCurve;