CircularSeries<T, D> constructor

const CircularSeries<T, D>({
  1. ValueKey<String>? key,
  2. ChartValueMapper<T, D>? xValueMapper,
  3. ChartValueMapper<T, String>? dataLabelMapper,
  4. String? name,
  5. List<T>? dataSource,
  6. ChartValueMapper<T, Color>? pointColorMapper,
  7. String? legendItemText,
  8. ChartValueMapper<T, dynamic>? sortFieldValueMapper,
  9. bool enableTooltip = true,
  10. EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
  11. DataLabelSettings dataLabelSettings = const DataLabelSettings(),
  12. double animationDuration = 1500,
  13. List<int>? initialSelectedDataIndexes,
  14. Color borderColor = Colors.transparent,
  15. double borderWidth = 2.0,
  16. SelectionBehavior? selectionBehavior,
  17. LegendIconType legendIconType = LegendIconType.seriesType,
  18. double opacity = 1.0,
  19. double animationDelay = 0,
  20. SortingOrder sortingOrder = SortingOrder.none,
  21. ChartSeriesRendererFactory<T, D>? onCreateRenderer,
  22. CircularSeriesRendererCreatedCallback<T, D>? onRendererCreated,
  23. ChartPointInteractionCallback? onPointTap,
  24. ChartPointInteractionCallback? onPointDoubleTap,
  25. ChartPointInteractionCallback? onPointLongPress,
  26. ChartValueMapper<T, num>? yValueMapper,
  27. ChartShaderMapper? pointShaderMapper,
  28. ChartValueMapper<T, String>? pointRadiusMapper,
  29. int startAngle = 0,
  30. int endAngle = 360,
  31. String radius = '80%',
  32. String innerRadius = '50%',
  33. double? groupTo,
  34. CircularChartGroupMode? groupMode,
  35. PointRenderMode? pointRenderMode,
  36. String gap = '1%',
  37. CornerStyle cornerStyle = CornerStyle.bothFlat,
  38. 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.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,
});