Chart<D> constructor
const
Chart<D> ({
- Key? key,
- required List<
D> data, - bool? changeData,
- required Map<
String, Variable< variables,D, dynamic> > - List<
VariableTransform> ? transforms, - required List<
GeomElement< elements,Shape> > - Coord? coord,
- EdgeInsets padding()?,
- List<
AxisGuide> ? axes, - TooltipGuide? tooltip,
- CrosshairGuide? crosshair,
- List<
Annotation> ? annotations, - Map<
String, Selection> ? selections, - bool? rebuild,
- StreamController<
GestureSignal> ? gestureChannel, - StreamController<
ResizeSignal> ? resizeChannel, - StreamController<
ChangeDataSignal< ? changeDataChannel,D> >
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);