isInversed property

bool isInversed
final

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.

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

Implementation

final bool isInversed;