TinyLineChart.fromDataVectors constructor
const
TinyLineChart.fromDataVectors({
- Key? key,
- required Iterable<
Vector2> dataPoints, - TinyLineChartOptions? options,
- double? width,
- double? height,
Creates a TinyLineChart from a Iterable of Vector2
.
Implementation
const TinyLineChart.fromDataVectors({
Key? key,
required this.dataPoints,
TinyLineChartOptions? options,
this.width,
this.height,
}) : options = options ?? kDefaultLineChartOptions,
super(key: key);