direction property

Direction? direction
final

Direction of error bar.

Defaults to Direction.both.

Also refer Direction.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <ErrorBarSeries<SalesData, String>>[
      ErrorBarSeries<SalesData, String>(
        direction: Direction.plus,
      ),
    ],
  );
}

Implementation

final Direction? direction;