RadialBarSeries<T, D> constructor
const
RadialBarSeries<T, D> ({
- ValueKey<
String> ? key, - ChartSeriesRendererFactory<
T, D> ? onCreateRenderer, - CircularSeriesRendererCreatedCallback<
T, D> ? onRendererCreated, - ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- List<
T> ? dataSource, - required ChartValueMapper<
T, D> ? xValueMapper, - required ChartValueMapper<
T, num> ? yValueMapper, - ChartValueMapper<
T, Color> ? pointColorMapper, - ChartShaderMapper? pointShaderMapper,
- ChartValueMapper<
T, String> ? pointRadiusMapper, - ChartValueMapper<
T, String> ? dataLabelMapper, - ChartValueMapper<
T, dynamic> ? sortFieldValueMapper, - Color trackColor = const Color.fromRGBO(234, 236, 239, 1.0),
- double trackBorderWidth = 0.0,
- double trackOpacity = 1,
- bool useSeriesColor = false,
- Color trackBorderColor = Colors.transparent,
- double? maximumValue,
- DataLabelSettings dataLabelSettings = const DataLabelSettings(),
- String radius = '80%',
- String innerRadius = '50%',
- String gap = '1%',
- double opacity = 1.0,
- Color strokeColor = Colors.transparent,
- double strokeWidth = 2.0,
- bool enableTooltip = true,
- String? name,
- double animationDuration = 1500,
- double animationDelay = 0,
- SelectionBehavior? selectionBehavior,
- SortingOrder sortingOrder = SortingOrder.none,
- LegendIconType legendIconType = LegendIconType.seriesType,
- CornerStyle cornerStyle = CornerStyle.bothFlat,
- List<
int> ? initialSelectedDataIndexes,
Creating an argument constructor of RadialBarSeries class.
Implementation
const RadialBarSeries({
super.key,
super.onCreateRenderer,
super.onRendererCreated,
super.onPointTap,
super.onPointDoubleTap,
super.onPointLongPress,
super.dataSource,
required super.xValueMapper,
required super.yValueMapper,
super.pointColorMapper,
super.pointShaderMapper,
super.pointRadiusMapper,
super.dataLabelMapper,
super.sortFieldValueMapper,
this.trackColor = const Color.fromRGBO(234, 236, 239, 1.0),
this.trackBorderWidth = 0.0,
this.trackOpacity = 1,
this.useSeriesColor = false,
this.trackBorderColor = Colors.transparent,
this.maximumValue,
super.dataLabelSettings,
super.radius = '80%',
super.innerRadius = '50%',
super.gap = '1%',
super.opacity,
Color strokeColor = Colors.transparent,
double strokeWidth = 2.0,
super.enableTooltip = true,
super.name,
super.animationDuration,
super.animationDelay,
super.selectionBehavior,
super.sortingOrder,
super.legendIconType,
super.cornerStyle = CornerStyle.bothFlat,
super.initialSelectedDataIndexes,
}) : super(
borderColor: strokeColor,
borderWidth: strokeWidth,
);