chartThemeData property

SfChartThemeData chartThemeData
final

Defines the default configuration of chart widgets.

Widget build(BuildContext context) {
 return Scaffold(
   appBar: AppBar(),
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           chartThemeData: SfChartThemeData()
         ),
         child: SfCartesianChart(),
       ),
     )
  );
}

Implementation

final SfChartThemeData chartThemeData;