Chart constructor

const Chart({
  1. ChartType type = ChartType.bar,
  2. List<ChartPoint> points = const <ChartPoint>[],
  3. String title = '',
  4. double width = 360,
  5. double height = 180,
  6. bool showValues = true,
  7. bool showLegend = true,
  8. bool showGrid = true,
})

Chart API.

Implementation

const Chart({
  this.type = ChartType.bar,
  this.points = const <ChartPoint>[],
  this.title = '',
  this.width = 360,
  this.height = 180,
  this.showValues = true,
  this.showLegend = true,
  this.showGrid = true,
});