labelIntersectAction property
Axis labels intersecting action.
Various actions such as hide, trim, wrap, rotate 90 degree, rotate 45 degree, and placing the labels in multiple rows can be handled when the axis labels collide with each other.
Defaults to AxisLabelIntersectAction.hide
.
Also refer AxisLabelIntersectAction.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
primaryXAxis:
NumericAxis(labelIntersectAction: AxisLabelIntersectAction.multipleRows),
)
);
}
Implementation
final AxisLabelIntersectAction labelIntersectAction;