StackedColumnSeries<T, D> constructor

StackedColumnSeries<T, D>({
  1. ValueKey<String>? key,
  2. ChartSeriesRendererFactory<T, D>? onCreateRenderer,
  3. required 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,
  10. bool? isTrackVisible,
  11. String? groupName,
  12. String? xAxisName,
  13. String? yAxisName,
  14. List<Trendline>? trendlines,
  15. String? name,
  16. Color? color,
  17. double? width,
  18. double? spacing,
  19. MarkerSettings? markerSettings,
  20. EmptyPointSettings? emptyPointSettings,
  21. DataLabelSettings? dataLabelSettings,
  22. bool? isVisible,
  23. LinearGradient? gradient,
  24. LinearGradient? borderGradient,
  25. BorderRadius? borderRadius,
  26. bool? enableTooltip,
  27. double? animationDuration,
  28. Color? trackColor,
  29. Color? trackBorderColor,
  30. double? trackBorderWidth,
  31. double? trackPadding,
  32. Color? borderColor,
  33. double? borderWidth,
  34. SelectionSettings? selectionSettings,
  35. SelectionBehavior? selectionBehavior,
  36. bool? isVisibleInLegend,
  37. LegendIconType? legendIconType,
  38. String? legendItemText,
  39. List<double>? dashArray,
  40. double? opacity,
  41. SeriesRendererCreatedCallback? onRendererCreated,
  42. List<int>? initialSelectedDataIndexes,
})

Creating an argument constructor of StackedColumnSeries class.

Implementation

StackedColumnSeries(
    {ValueKey<String>? key,
    ChartSeriesRendererFactory<T, D>? onCreateRenderer,
    required List<T> dataSource,
    required ChartValueMapper<T, D> xValueMapper,
    required ChartValueMapper<T, num> yValueMapper,
    ChartValueMapper<T, dynamic>? sortFieldValueMapper,
    ChartValueMapper<T, Color>? pointColorMapper,
    ChartValueMapper<T, String>? dataLabelMapper,
    SortingOrder? sortingOrder,
    bool? isTrackVisible,
    String? groupName,
    String? xAxisName,
    String? yAxisName,
    List<Trendline>? trendlines,
    String? name,
    Color? color,
    double? width,
    double? spacing,
    MarkerSettings? markerSettings,
    EmptyPointSettings? emptyPointSettings,
    DataLabelSettings? dataLabelSettings,
    bool? isVisible,
    LinearGradient? gradient,
    LinearGradient? borderGradient,
    BorderRadius? borderRadius,
    bool? enableTooltip,
    double? animationDuration,
    Color? trackColor,
    Color? trackBorderColor,
    double? trackBorderWidth,
    double? trackPadding,
    Color? borderColor,
    double? borderWidth,
    // ignore: deprecated_member_use_from_same_package
    SelectionSettings? selectionSettings,
    SelectionBehavior? selectionBehavior,
    bool? isVisibleInLegend,
    LegendIconType? legendIconType,
    String? legendItemText,
    List<double>? dashArray,
    double? opacity,
    SeriesRendererCreatedCallback? onRendererCreated,
    List<int>? initialSelectedDataIndexes})
    : super(
          key: key,
          onCreateRenderer: onCreateRenderer,
          name: name,
          dashArray: dashArray,
          groupName: groupName,
          spacing: spacing,
          xValueMapper: xValueMapper,
          yValueMapper: yValueMapper,
          sortFieldValueMapper: sortFieldValueMapper,
          pointColorMapper: pointColorMapper,
          trendlines: trendlines,
          dataLabelMapper: dataLabelMapper,
          dataSource: dataSource,
          xAxisName: xAxisName,
          isTrackVisible: isTrackVisible,
          trackColor: trackColor,
          trackBorderColor: trackBorderColor,
          trackBorderWidth: trackBorderWidth,
          trackPadding: trackPadding,
          yAxisName: yAxisName,
          color: color,
          width: width ?? 0.7,
          markerSettings: markerSettings,
          dataLabelSettings: dataLabelSettings,
          isVisible: isVisible,
          gradient: gradient,
          borderGradient: borderGradient,
          emptyPointSettings: emptyPointSettings,
          enableTooltip: enableTooltip,
          animationDuration: animationDuration,
          borderColor: borderColor,
          borderWidth: borderWidth,
          borderRadius: borderRadius,
          selectionSettings: selectionSettings,
          selectionBehavior: selectionBehavior,
          legendItemText: legendItemText,
          isVisibleInLegend: isVisibleInLegend,
          legendIconType: legendIconType,
          sortingOrder: sortingOrder,
          opacity: opacity,
          onRendererCreated: onRendererCreated,
          initialSelectedDataIndexes: initialSelectedDataIndexes);