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<GeomElement<Shape>> elements,
  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<GestureSignal>? gestureChannel,
  16. StreamController<ResizeSignal>? resizeChannel,
  17. StreamController<ChangeDataSignal<D>>? changeDataChannel,
})

Creates a chart widget.

Implementation

const Chart({
  Key? key,
  required this.data,
  this.changeData,
  required this.variables,
  this.transforms,
  required this.elements,
  this.coord,
  this.padding,
  this.axes,
  this.tooltip,
  this.crosshair,
  this.annotations,
  this.selections,
  this.rebuild,
  this.gestureChannel,
  this.resizeChannel,
  this.changeDataChannel,
}) : super(key: key);