angle property
Rotation angle of the data label.
Defaults to 0
.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <SplineSeries<SalesData, num>>[
SplineSeries<SalesData, num>(
dataLabelSettings: DataLabelSettings(
isVisible: true,
angle:40
),
),
],
);
}
Implementation
final int angle;