yAxisName property

String? yAxisName
final

Name of the y-axis to bind the series.

Widget build(BuildContext context) {
   return SfCartesianChart(
     axes: <ChartAxis>[
       NumericAxis(
         name: 'yAxis1'
       )
     ],
     series: <BubbleSeries<BubbleColors, num>>[
       BubbleSeries<BubbleColors, num>(
         yAxisName: 'yAxis1',
       ),
     ],
   );
}

Implementation

final String? yAxisName;