isInversed property

bool isInversed

Inverts the axis from right to left.

In the spark chart, the provided set of data are rendered from left to right by default and can be inverted to render the data points from right to left.

Defaults to false.

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


final bool isInversed;