RangeColumnSeries<T, D> constructor

RangeColumnSeries<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> highValueMapper,
  6. required ChartValueMapper<T, num> lowValueMapper,
  7. ChartValueMapper<T, dynamic>? sortFieldValueMapper,
  8. ChartValueMapper<T, Color>? pointColorMapper,
  9. ChartValueMapper<T, String>? dataLabelMapper,
  10. SortingOrder? sortingOrder,
  11. bool isTrackVisible = false,
  12. String? xAxisName,
  13. String? yAxisName,
  14. String? name,
  15. Color? color,
  16. double? width,
  17. double spacing = 0,
  18. MarkerSettings? markerSettings,
  19. EmptyPointSettings? emptyPointSettings,
  20. DataLabelSettings? dataLabelSettings,
  21. bool? isVisible,
  22. LinearGradient? gradient,
  23. LinearGradient? borderGradient,
  24. BorderRadius borderRadius = BorderRadius.zero,
  25. bool? enableTooltip,
  26. double? animationDuration,
  27. Color trackColor = Colors.grey,
  28. Color trackBorderColor = Colors.transparent,
  29. double trackBorderWidth = 1,
  30. double trackPadding = 0,
  31. Color? borderColor,
  32. List<Trendline>? trendlines,
  33. double? borderWidth,
  34. SelectionBehavior? selectionBehavior,
  35. bool? isVisibleInLegend,
  36. LegendIconType? legendIconType,
  37. String? legendItemText,
  38. double? opacity,
  39. double? animationDelay,
  40. List<double>? dashArray,
  41. SeriesRendererCreatedCallback? onRendererCreated,
  42. ChartPointInteractionCallback? onPointTap,
  43. ChartPointInteractionCallback? onPointDoubleTap,
  44. ChartPointInteractionCallback? onPointLongPress,
  45. CartesianShaderCallback? onCreateShader,
  46. List<int>? initialSelectedDataIndexes,
})

Creating an argument constructor of RangeColumnSeries class.

Implementation

RangeColumnSeries(
    {ValueKey<String>? key,
    ChartSeriesRendererFactory<T, D>? onCreateRenderer,
    required List<T> dataSource,
    required ChartValueMapper<T, D> xValueMapper,
    required ChartValueMapper<T, num> highValueMapper,
    required ChartValueMapper<T, num> lowValueMapper,
    ChartValueMapper<T, dynamic>? sortFieldValueMapper,
    ChartValueMapper<T, Color>? pointColorMapper,
    ChartValueMapper<T, String>? dataLabelMapper,
    SortingOrder? sortingOrder,
    this.isTrackVisible = false,
    String? xAxisName,
    String? yAxisName,
    String? name,
    Color? color,
    double? width,
    this.spacing = 0,
    MarkerSettings? markerSettings,
    EmptyPointSettings? emptyPointSettings,
    DataLabelSettings? dataLabelSettings,
    bool? isVisible,
    LinearGradient? gradient,
    LinearGradient? borderGradient,
    this.borderRadius = BorderRadius.zero,
    bool? enableTooltip,
    double? animationDuration,
    this.trackColor = Colors.grey,
    this.trackBorderColor = Colors.transparent,
    this.trackBorderWidth = 1,
    this.trackPadding = 0,
    Color? borderColor,
    List<Trendline>? trendlines,
    double? borderWidth,
    SelectionBehavior? selectionBehavior,
    bool? isVisibleInLegend,
    LegendIconType? legendIconType,
    String? legendItemText,
    double? opacity,
    double? animationDelay,
    List<double>? dashArray,
    SeriesRendererCreatedCallback? onRendererCreated,
    ChartPointInteractionCallback? onPointTap,
    ChartPointInteractionCallback? onPointDoubleTap,
    ChartPointInteractionCallback? onPointLongPress,
    CartesianShaderCallback? onCreateShader,
    List<int>? initialSelectedDataIndexes})
    : super(
          key: key,
          onCreateRenderer: onCreateRenderer,
          name: name,
          xValueMapper: xValueMapper,
          highValueMapper: highValueMapper,
          lowValueMapper: lowValueMapper,
          sortFieldValueMapper: sortFieldValueMapper,
          pointColorMapper: pointColorMapper,
          dataLabelMapper: dataLabelMapper,
          dataSource: dataSource,
          trendlines: trendlines,
          xAxisName: xAxisName,
          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,
          selectionBehavior: selectionBehavior,
          legendItemText: legendItemText,
          isVisibleInLegend: isVisibleInLegend,
          legendIconType: legendIconType,
          sortingOrder: sortingOrder,
          opacity: opacity,
          animationDelay: animationDelay,
          onCreateShader: onCreateShader,
          dashArray: dashArray,
          onRendererCreated: onRendererCreated,
          onPointTap: onPointTap,
          onPointDoubleTap: onPointDoubleTap,
          onPointLongPress: onPointLongPress,
          initialSelectedDataIndexes: initialSelectedDataIndexes);