edgeLabelPlacement property Null safety

EdgeLabelPlacement edgeLabelPlacement
final

Position of the edge labels.

The edge labels in an axis can be hidden or shifted inside the axis bounds.

Defaults to EdgeLabelPlacement.none.

Also refer EdgeLabelPlacement.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(edgeLabelPlacement: EdgeLabelPlacement.hide),
       ));
}

Implementation

final EdgeLabelPlacement edgeLabelPlacement;