URadialBarChart constructor
const
URadialBarChart({
- required List<
ChartData> data, - ChartLegendPosition legendPosition = ChartLegendPosition.left,
- ChartOverflowMode overflowMode = ChartOverflowMode.wrap,
- bool showLegend = true,
- bool enableTooltip = true,
- String radius = "100%",
- String innerRadius = "50%",
- double animationDuration = 1000,
- Color trackColor = Colors.grey,
- double trackOpacity = 0.3,
- DataLabelSettings dataLabelSettings = const DataLabelSettings(isVisible: true),
- Key? key,
Implementation
const URadialBarChart({
required this.data,
this.legendPosition = ChartLegendPosition.left,
this.overflowMode = ChartOverflowMode.wrap,
this.showLegend = true,
this.enableTooltip = true,
this.radius = "100%",
this.innerRadius = "50%",
this.animationDuration = 1000,
this.trackColor = Colors.grey,
this.trackOpacity = 0.3,
this.dataLabelSettings = const DataLabelSettings(isVisible: true),
super.key,
});