mode property

RenderingMode? mode
final

Mode of error bar.

Defaults to RenderingMode.vertical.

Other values are RenderingMode.horizontal and RenderingMode.both.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <ErrorBarSeries<SalesData, String>>[
      ErrorBarSeries<SalesData, String>(
        mode: RenderingMode.both,
      ),
    ],
  );
}

Implementation

final RenderingMode? mode;