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