isInversed property

bool isInversed
final

Inverts the axis.

Axis is rendered from the minimum value to maximum value by default, and it can be inverted to render the axis from the maximum value to minimum value.

Defaults to false.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(isInversed: true),
       ));
}

Implementation

final bool isInversed;