StackedBar100Series<T, D> constructor

const StackedBar100Series<T, D>({
  1. ValueKey<String>? key,
  2. ChartSeriesRendererFactory<T, D>? onCreateRenderer,
  3. List<T>? dataSource,
  4. required ChartValueMapper<T, D>? xValueMapper,
  5. required ChartValueMapper<T, num>? yValueMapper,
  6. ChartValueMapper<T, dynamic>? sortFieldValueMapper,
  7. ChartValueMapper<T, Color>? pointColorMapper,
  8. ChartValueMapper<T, String>? dataLabelMapper,
  9. SortingOrder sortingOrder = SortingOrder.none,
  10. String groupName = '',
  11. String? xAxisName,
  12. String? yAxisName,
  13. String? name,
  14. Color? color,
  15. double width = 0.7,
  16. double spacing = 0.0,
  17. MarkerSettings markerSettings = const MarkerSettings(),
  18. EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
  19. DataLabelSettings dataLabelSettings = const DataLabelSettings(),
  20. bool initialIsVisible = true,
  21. LinearGradient? gradient,
  22. LinearGradient? borderGradient,
  23. BorderRadius borderRadius = BorderRadius.zero,
  24. bool enableTooltip = true,
  25. bool enableTrackball = true,
  26. double animationDuration = 1500,
  27. List<Trendline>? trendlines,
  28. Color borderColor = Colors.transparent,
  29. double borderWidth = 2.0,
  30. SelectionBehavior? selectionBehavior,
  31. bool isVisibleInLegend = true,
  32. LegendIconType legendIconType = LegendIconType.seriesType,
  33. String? legendItemText,
  34. List<double>? dashArray,
  35. double opacity = 1.0,
  36. double animationDelay = 0,
  37. SeriesRendererCreatedCallback<T, D>? onRendererCreated,
  38. ChartPointInteractionCallback? onPointTap,
  39. ChartPointInteractionCallback? onPointDoubleTap,
  40. ChartPointInteractionCallback? onPointLongPress,
  41. CartesianShaderCallback? onCreateShader,
  42. List<int>? initialSelectedDataIndexes,
})

Creating an argument constructor of StackedBar100Series class.

Implementation

const StackedBar100Series({
  super.key,
  super.onCreateRenderer,
  super.dataSource,
  required super.xValueMapper,
  required super.yValueMapper,
  super.sortFieldValueMapper,
  super.pointColorMapper,
  super.dataLabelMapper,
  super.sortingOrder,
  this.groupName = '',
  super.xAxisName,
  super.yAxisName,
  super.name,
  super.color,
  this.width = 0.7,
  this.spacing = 0.0,
  super.markerSettings,
  super.emptyPointSettings,
  super.dataLabelSettings,
  super.initialIsVisible,
  super.gradient,
  super.borderGradient,
  this.borderRadius = BorderRadius.zero,
  super.enableTooltip = true,
  super.enableTrackball = true,
  super.animationDuration,
  super.trendlines,
  this.borderColor = Colors.transparent,
  super.borderWidth,
  super.selectionBehavior,
  super.isVisibleInLegend,
  super.legendIconType,
  super.legendItemText,
  super.dashArray,
  super.opacity,
  super.animationDelay,
  super.onRendererCreated,
  super.onPointTap,
  super.onPointDoubleTap,
  super.onPointLongPress,
  super.onCreateShader,
  super.initialSelectedDataIndexes,
});