Chart<D> constructor

const Chart<D>({
  1. Key? key,
  2. required List<D> data,
  3. bool? changeData,
  4. required Map<String, Variable<D, dynamic>> variables,
  5. List<VariableTransform>? transforms,
  6. required List<Mark<Shape>> marks,
  7. Coord? coord,
  8. EdgeInsets padding(
    1. Size
    )?,
  9. List<AxisGuide>? axes,
  10. TooltipGuide? tooltip,
  11. CrosshairGuide? crosshair,
  12. List<Annotation>? annotations,
  13. Map<String, Selection>? selections,
  14. bool? rebuild,
  15. StreamController<GestureEvent>? gestureStream,
  16. StreamController<ResizeEvent>? resizeStream,
  17. StreamController<ChangeDataEvent<D>>? changeDataStream,
})

Creates a chart widget.

Implementation

const Chart({
  Key? key,
  required this.data,
  this.changeData,
  required this.variables,
  this.transforms,
  required this.marks,
  this.coord,
  this.padding,
  this.axes,
  this.tooltip,
  this.crosshair,
  this.annotations,
  this.selections,
  this.rebuild,
  this.gestureStream,
  this.resizeStream,
  this.changeDataStream,
}) : super(key: key);