majorTickLineColor property

Color majorTickLineColor
final

Specifies the color for major tick line of an axis.

Widget build(BuildContext context) {
  return Scaffold(
    body: Center(
      child: SfTheme(
        data: SfThemeData(
          chartThemeData: SfChartThemeData(
            majorTickLineColor: Colors.red
          )
        ),
        child: SfCartesianChart()
      ),
    )
  );
}

Implementation

final Color majorTickLineColor;