CircularSeries<T, D> constructor
const
CircularSeries<T, D> ({
- ValueKey<
String> ? key, - ChartValueMapper<
T, D> ? xValueMapper, - ChartValueMapper<
T, String> ? dataLabelMapper, - String? name,
- List<
T> ? dataSource, - ChartValueMapper<
T, Color> ? pointColorMapper, - String? legendItemText,
- ChartValueMapper<
T, dynamic> ? sortFieldValueMapper, - bool enableTooltip = true,
- bool enableTrackball = true,
- EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
- DataLabelSettings dataLabelSettings = const DataLabelSettings(),
- double animationDuration = 1500,
- List<
int> ? initialSelectedDataIndexes, - Color borderColor = Colors.transparent,
- double borderWidth = 2.0,
- SelectionBehavior? selectionBehavior,
- LegendIconType legendIconType = LegendIconType.seriesType,
- double opacity = 1.0,
- double animationDelay = 0,
- SortingOrder sortingOrder = SortingOrder.none,
- ChartSeriesRendererFactory<
T, D> ? onCreateRenderer, - CircularSeriesRendererCreatedCallback<
T, D> ? onRendererCreated, - ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- ChartValueMapper<
T, num> ? yValueMapper, - ChartShaderMapper? pointShaderMapper,
- ChartValueMapper<
T, String> ? pointRadiusMapper, - int startAngle = 0,
- int endAngle = 360,
- String radius = '80%',
- String innerRadius = '50%',
- double? groupTo,
- CircularChartGroupMode? groupMode,
- PointRenderMode? pointRenderMode,
- String gap = '1%',
- CornerStyle cornerStyle = CornerStyle.bothFlat,
- CircularShaderCallback? onCreateShader,
Creating an argument constructor of CircularSeries class.
Implementation
const CircularSeries({
super.key,
super.xValueMapper,
super.dataLabelMapper,
super.name,
super.dataSource,
super.pointColorMapper,
super.legendItemText,
super.sortFieldValueMapper,
super.enableTooltip = true,
super.enableTrackball = true,
super.emptyPointSettings,
super.dataLabelSettings,
super.animationDuration,
super.initialSelectedDataIndexes,
this.borderColor = Colors.transparent,
super.borderWidth,
super.selectionBehavior,
super.legendIconType,
super.opacity,
super.animationDelay,
super.sortingOrder,
this.onCreateRenderer,
this.onRendererCreated,
super.onPointTap,
super.onPointDoubleTap,
super.onPointLongPress,
this.yValueMapper,
this.pointShaderMapper,
this.pointRadiusMapper,
this.startAngle = 0,
this.endAngle = 360,
this.radius = '80%',
this.innerRadius = '50%',
this.groupTo,
this.groupMode,
this.pointRenderMode,
this.gap = '1%',
this.cornerStyle = CornerStyle.bothFlat,
this.onCreateShader,
});