LineData.scatter constructor
const
LineData.scatter({
- bool visible = true,
- ChartRotation rotation = ChartRotation.d0,
- ChartFlip flip = ChartFlip.none,
- Offset origin = Offset.zero,
- IChartLayout? layout,
- bool? crop,
- ChartInsets padding = const ChartInsets(),
- required List<
DataPoint> points, - IDataPointStyle? pointStyle,
Creates marker-only x/y data without a connected line or area fill.
Implementation
const LineData.scatter({
this.visible = true,
this.rotation = ChartRotation.d0,
this.flip = ChartFlip.none,
this.origin = Offset.zero,
this.layout,
this.crop,
this.padding = const ChartInsets(),
required List<DataPoint> points,
this.pointStyle,
}) : line = points,
thickness = const ThicknessData(size: Px(2.0)),
areaGradient = null,
areaColor = null,
areaFillType = null,
lineType = const ScatterLineData();