Chart.scatter constructor
Chart.scatter({
- required CellIndex anchor,
- required List<
ChartSeries> series, - String? title,
- LegendPosition legend = LegendPosition.right,
- int width = 480,
- int height = 288,
- String? xAxisTitle,
- String? yAxisTitle,
- bool plotVisibleOnly = true,
- CellIndex? anchorTo,
- ChartDataLabels? dataLabels,
A scatter (XY) chart. Each series needs both ChartSeries.xValues and ChartSeries.values.
Implementation
factory Chart.scatter({
required CellIndex anchor,
required List<ChartSeries> series,
String? title,
LegendPosition legend = LegendPosition.right,
int width = 480,
int height = 288,
String? xAxisTitle,
String? yAxisTitle,
bool plotVisibleOnly = true,
CellIndex? anchorTo,
ChartDataLabels? dataLabels,
}) => Chart(
type: ChartType.scatter,
anchor: anchor,
series: series,
title: title,
legend: legend,
width: width,
height: height,
xAxisTitle: xAxisTitle,
yAxisTitle: yAxisTitle,
plotVisibleOnly: plotVisibleOnly,
anchorTo: anchorTo,
dataLabels: dataLabels,
);