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: <TechnicalIndicator<Sample, num>>[
     StochasticIndicator<Sample, num>(
       seriesName: 'Series1',
       xAxisName: 'yAxis',
       showZones : false
     ),
   ],
   series: <CartesianSeries<Sample, num>>[
     HiloOpenCloseSeries<Sample, num>(
       name: 'Series1'
     )
   ]
 );
}

Implementation

final String? yAxisName;