NrbScatterPlot constructor
const
NrbScatterPlot({
- Key? key,
- required List<
NrbScatterPoint> points, - double width = double.infinity,
- double height = 250.0,
- Color pointColor = const Color(0xFF1E88E5),
- double pointRadius = 4.0,
- Color gridColor = const Color(0xFFE0E0E0),
- Color textColor = const Color(0xFF757575),
- Duration animationDuration = const Duration(milliseconds: 1000),
Constructor for the Scatter Plot.
Implementation
const NrbScatterPlot({
super.key,
required this.points,
this.width = double.infinity,
this.height = 250.0,
this.pointColor = const Color(0xFF1E88E5), // Blue
this.pointRadius = 4.0,
this.gridColor = const Color(0xFFE0E0E0),
this.textColor = const Color(0xFF757575),
this.animationDuration = const Duration(milliseconds: 1000),
});