TinyColumnChart.fromDataVectors constructor
const
TinyColumnChart.fromDataVectors({
- Key? key,
- required Iterable<
Vector2> dataPoints, - TinyColumnChartOptions? options,
- double? width,
- double? height,
Creates a TinyLineChart from a Iterable of Vector2
.
The x value in each vector represents the column order and the y represents its value.
Implementation
const TinyColumnChart.fromDataVectors({
Key? key,
required this.dataPoints,
TinyColumnChartOptions? options,
this.width,
this.height,
}) : options = options ?? kDefaultColumnChartOptions,
super(key: key);