rangeController property
RangeController?
rangeController
final
Controller used to set the maximum and minimum values for the chart.By providing the range controller, the maximum and The minimum range of charts can be customized
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
primaryXAxis: NumericAxis(
rangeController: controller,
),
));
}
Implementation
final RangeController? rangeController;