xAxisName property

String? xAxisName
final

Name of the x-axis to bind the series.

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

Implementation

final String? xAxisName;