StackedArea100Series<T, D> constructor

StackedArea100Series<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. String? xAxisName,
  11. String? yAxisName,
  12. String? name,
  13. String? groupName,
  14. List<Trendline>? trendlines,
  15. Color? color,
  16. MarkerSettings? markerSettings,
  17. EmptyPointSettings? emptyPointSettings,
  18. DataLabelSettings? dataLabelSettings,
  19. bool? isVisible,
  20. bool? enableTooltip,
  21. List<double>? dashArray,
  22. double? animationDuration,
  23. Color? borderColor,
  24. double? borderWidth,
  25. LinearGradient? gradient,
  26. LinearGradient? borderGradient,
  27. SelectionBehavior? selectionBehavior,
  28. bool? isVisibleInLegend,
  29. LegendIconType? legendIconType,
  30. String? legendItemText,
  31. double? opacity,
  32. double? animationDelay,
  33. SeriesRendererCreatedCallback? onRendererCreated,
  34. ChartPointInteractionCallback? onPointTap,
  35. ChartPointInteractionCallback? onPointDoubleTap,
  36. ChartPointInteractionCallback? onPointLongPress,
  37. CartesianShaderCallback? onCreateShader,
  38. BorderDrawMode borderDrawMode = BorderDrawMode.top,
})

Creating an argument constructor of StackedArea100Series class.

Implementation

StackedArea100Series(
    {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,
    String? xAxisName,
    String? yAxisName,
    String? name,
    String? groupName,
    List<Trendline>? trendlines,
    Color? color,
    MarkerSettings? markerSettings,
    EmptyPointSettings? emptyPointSettings,
    DataLabelSettings? dataLabelSettings,
    bool? isVisible,
    bool? enableTooltip,
    List<double>? dashArray,
    double? animationDuration,
    Color? borderColor,
    double? borderWidth,
    LinearGradient? gradient,
    LinearGradient? borderGradient,
    SelectionBehavior? selectionBehavior,
    bool? isVisibleInLegend,
    LegendIconType? legendIconType,
    String? legendItemText,
    double? opacity,
    double? animationDelay,
    SeriesRendererCreatedCallback? onRendererCreated,
    ChartPointInteractionCallback? onPointTap,
    ChartPointInteractionCallback? onPointDoubleTap,
    ChartPointInteractionCallback? onPointLongPress,
    CartesianShaderCallback? onCreateShader,
    this.borderDrawMode = BorderDrawMode.top})
    : super(
          key: key,
          onCreateRenderer: onCreateRenderer,
          xValueMapper: xValueMapper,
          yValueMapper: yValueMapper,
          sortFieldValueMapper: sortFieldValueMapper,
          pointColorMapper: pointColorMapper,
          dataLabelMapper: dataLabelMapper,
          dataSource: dataSource,
          xAxisName: xAxisName,
          yAxisName: yAxisName,
          name: name,
          color: color,
          trendlines: trendlines,
          markerSettings: markerSettings,
          dataLabelSettings: dataLabelSettings,
          isVisible: isVisible,
          emptyPointSettings: emptyPointSettings,
          enableTooltip: enableTooltip,
          dashArray: dashArray,
          animationDuration: animationDuration,
          borderColor: borderColor,
          borderWidth: borderWidth,
          gradient: gradient,
          borderGradient: borderGradient,
          selectionBehavior: selectionBehavior,
          legendItemText: legendItemText,
          isVisibleInLegend: isVisibleInLegend,
          legendIconType: legendIconType,
          sortingOrder: sortingOrder,
          groupName: groupName,
          onRendererCreated: onRendererCreated,
          onPointTap: onPointTap,
          onPointDoubleTap: onPointDoubleTap,
          onPointLongPress: onPointLongPress,
          opacity: opacity,
          animationDelay: animationDelay,
          onCreateShader: onCreateShader);