axisTitleColor property
Specifies the color for axis title.
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfTheme(
data: SfThemeData(
chartThemeData: SfChartThemeData(
axisTitleColor: Colors.blue
)
),
child: SfCartesianChart(
primaryXAxis: NumericAxis(
title: AxisTitle(text: 'X-Axis')
),
)
),
)
);
}
Implementation
final Color axisTitleColor;