backgroundColor property
Background color of the chart title.
Defaults to null
.
Widget build(BuildContext context) {
return SfCartesianChart(
title: ChartTitle(
text: 'Chart Title',
backgroundColor: Colors.white
)
);
}
Implementation
final Color? backgroundColor;