RangeColumnSeries<T, D> constructor

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

Creating an argument constructor of RangeColumnSeries class.

Implementation

const RangeColumnSeries({
  super.key,
  super.onCreateRenderer,
  super.dataSource,
  required super.xValueMapper,
  required super.highValueMapper,
  required super.lowValueMapper,
  super.sortFieldValueMapper,
  super.pointColorMapper,
  super.dataLabelMapper,
  super.sortingOrder,
  this.isTrackVisible = false,
  super.xAxisName,
  super.yAxisName,
  super.name,
  super.color,
  this.width = 0.7,
  this.spacing = 0.0,
  super.markerSettings,
  super.emptyPointSettings,
  super.dataLabelSettings,
  super.initialIsVisible,
  super.gradient,
  super.borderGradient,
  this.borderRadius = BorderRadius.zero,
  super.enableTooltip = true,
  super.enableTrackball = true,
  super.animationDuration,
  this.trackColor = Colors.grey,
  this.trackBorderColor = Colors.transparent,
  this.trackBorderWidth = 1.0,
  this.trackPadding = 0.0,
  super.borderColor = Colors.transparent,
  super.trendlines,
  super.borderWidth,
  super.selectionBehavior,
  super.isVisibleInLegend,
  super.legendIconType,
  super.legendItemText,
  super.opacity,
  super.animationDelay,
  super.dashArray,
  super.onRendererCreated,
  super.onPointTap,
  super.onPointDoubleTap,
  super.onPointLongPress,
  super.onCreateShader,
  super.initialSelectedDataIndexes,
});