majorTickLines property
Customizes the appearance of the major tick lines.
Major ticks are small lines used to indicate the intervals in an axis. Major tick lines are visible by default.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
primaryXAxis: NumericAxis(majorTickLines: const MajorTickLines(width: 2)),
)
);
}
Implementation
final MajorTickLines majorTickLines;