axisCrossesAt property

double axisCrossesAt

Customize the axis position based on the provided y-value. The axis line is rendered on the minimum y-value and can be repositioned to required y-value .

Defaults to 0.

Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkWinLossChart(
     axisCrossesAt: 24,
     data: <double>[18, 24, 30, 14, 28],


final double axisCrossesAt;