opposedPosition property

bool opposedPosition
final

Opposes the axis position.

An axis can be placed at the opposite side of its default position.

Defaults to false.

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

Implementation

final bool opposedPosition;