StackedColumn100Series<T, D> constructor

const StackedColumn100Series<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? xAxisName,
  11. String? yAxisName,
  12. String? name,
  13. Color? color,
  14. double width = 0.7,
  15. MarkerSettings markerSettings = const MarkerSettings(),
  16. List<Trendline>? trendlines,
  17. EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
  18. DataLabelSettings dataLabelSettings = const DataLabelSettings(),
  19. bool initialIsVisible = true,
  20. LinearGradient? gradient,
  21. LinearGradient? borderGradient,
  22. String groupName = '',
  23. BorderRadius borderRadius = BorderRadius.zero,
  24. double spacing = 0.0,
  25. bool enableTooltip = true,
  26. double animationDuration = 1500,
  27. Color borderColor = Colors.transparent,
  28. double borderWidth = 2.0,
  29. SelectionBehavior? selectionBehavior,
  30. bool isVisibleInLegend = true,
  31. LegendIconType legendIconType = LegendIconType.seriesType,
  32. String? legendItemText,
  33. List<double>? dashArray,
  34. double opacity = 1.0,
  35. double animationDelay = 0,
  36. SeriesRendererCreatedCallback<T, D>? onRendererCreated,
  37. ChartPointInteractionCallback? onPointTap,
  38. ChartPointInteractionCallback? onPointDoubleTap,
  39. ChartPointInteractionCallback? onPointLongPress,
  40. CartesianShaderCallback? onCreateShader,
  41. List<int>? initialSelectedDataIndexes,
})

Creating an argument constructor of StackedColumn100Series class.

Implementation

const StackedColumn100Series({
  super.key,
  super.onCreateRenderer,
  super.dataSource,
  required super.xValueMapper,
  required super.yValueMapper,
  super.sortFieldValueMapper,
  super.pointColorMapper,
  super.dataLabelMapper,
  super.sortingOrder,
  super.xAxisName,
  super.yAxisName,
  super.name,
  super.color,
  this.width = 0.7,
  super.markerSettings,
  super.trendlines,
  super.emptyPointSettings,
  super.dataLabelSettings,
  super.initialIsVisible,
  super.gradient,
  super.borderGradient,
  this.groupName = '',
  this.borderRadius = BorderRadius.zero,
  this.spacing = 0.0,
  super.enableTooltip = true,
  super.animationDuration,
  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,
});