ChartLegend constructor
ChartLegend({
- TextStyle? textStyle,
- AlignmentGeometry position = pw.Alignment.topRight,
- Axis direction = pw.Axis.vertical,
- BoxDecoration? decoration,
- EdgeInsetsGeometry padding = const pw.EdgeInsets.all(5),
Creates a ChartLegend.
Implementation
ChartLegend({
this.textStyle,
this.position = pw.Alignment.topRight,
this.direction = pw.Axis.vertical,
this.decoration,
this.padding = const pw.EdgeInsets.all(5),
});