StackedLine100Series<T, D> constructor

const StackedLine100Series<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. String? xAxisName,
  10. String? yAxisName,
  11. Color? color,
  12. double width = 2,
  13. MarkerSettings markerSettings = const MarkerSettings(),
  14. EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
  15. DataLabelSettings dataLabelSettings = const DataLabelSettings(),
  16. bool initialIsVisible = true,
  17. String? name,
  18. bool enableTooltip = true,
  19. List<double>? dashArray,
  20. double animationDuration = 1500,
  21. List<Trendline>? trendlines,
  22. String groupName = '',
  23. SelectionBehavior? selectionBehavior,
  24. bool isVisibleInLegend = true,
  25. LegendIconType legendIconType = LegendIconType.seriesType,
  26. SortingOrder sortingOrder = SortingOrder.none,
  27. String? legendItemText,
  28. double opacity = 1.0,
  29. double animationDelay = 0,
  30. SeriesRendererCreatedCallback<T, D>? onRendererCreated,
  31. ChartPointInteractionCallback? onPointTap,
  32. ChartPointInteractionCallback? onPointDoubleTap,
  33. ChartPointInteractionCallback? onPointLongPress,
  34. CartesianShaderCallback? onCreateShader,
  35. List<int>? initialSelectedDataIndexes,
})

Creating an argument constructor of StackedLine100Series class.

Implementation

const StackedLine100Series({
  super.key,
  super.onCreateRenderer,
  super.dataSource,
  required super.xValueMapper,
  required super.yValueMapper,
  super.sortFieldValueMapper,
  super.pointColorMapper,
  super.dataLabelMapper,
  super.xAxisName,
  super.yAxisName,
  super.color,
  double width = 2,
  super.markerSettings,
  super.emptyPointSettings,
  super.dataLabelSettings,
  super.initialIsVisible,
  super.name,
  super.enableTooltip = true,
  super.dashArray,
  super.animationDuration,
  super.trendlines,
  this.groupName = '',
  super.selectionBehavior,
  super.isVisibleInLegend,
  super.legendIconType,
  super.sortingOrder,
  super.legendItemText,
  super.opacity,
  super.animationDelay,
  super.onRendererCreated,
  super.onPointTap,
  super.onPointDoubleTap,
  super.onPointLongPress,
  super.onCreateShader,
  super.initialSelectedDataIndexes,
}) : super(borderWidth: width);