associatedAxisName property Null safety

String? associatedAxisName
final

Axis line crossed on mentioned axis name, and applicable for plot band also.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(associatedAxisName: 'primaryXAxis'),
       ));
}

Implementation

final String? associatedAxisName;