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: SfSparkAreaChart(
     axisCrossesAt: 14,
     data: <double>[18, 24, 30, 14, 28],


final double axisCrossesAt;