yAxisName property

String? yAxisName
final

Property to map the technical indicators with the axes.

Defaults to null.

Widget build(BuildContext context) {
 return SfCartesianChart(
   primaryYAxis: NumericAxis(name: 'yAxis')
   indicators: <TechnicalIndicators<Sample, num>>[
     StochasticIndicator<Sample, num>(
       seriesName: 'Series1',
       xAxisName: 'yAxis',
       showZones : false
     ),
   ],
   series: <ChartSeries<Sample, num>>[
     HiloOpenCloseSeries<Sample, num>(
       name: 'Series1'
     )
   ]
 );
}

Implementation

final String? yAxisName;