HiloSeries<T, D> constructor

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

Creating an argument constructor of HiloSeries class.

Implementation

const HiloSeries({
  super.key,
  super.onCreateRenderer,
  super.dataSource,
  required super.xValueMapper,
  required super.lowValueMapper,
  required super.highValueMapper,
  super.sortFieldValueMapper,
  super.pointColorMapper,
  super.dataLabelMapper,
  super.sortingOrder,
  super.xAxisName,
  super.yAxisName,
  super.name,
  super.color,
  super.markerSettings,
  super.emptyPointSettings,
  super.dataLabelSettings,
  super.initialIsVisible,
  super.enableTooltip = true,
  super.animationDuration,
  super.borderWidth = 2,
  super.selectionBehavior,
  super.isVisibleInLegend,
  super.legendIconType,
  super.legendItemText,
  super.dashArray,
  super.opacity,
  super.animationDelay,
  this.spacing = 0,
  super.initialSelectedDataIndexes,
  this.showIndicationForSameValues = false,
  super.trendlines,
  super.onRendererCreated,
  super.onPointTap,
  super.onPointDoubleTap,
  super.onPointLongPress,
  super.onCreateShader,
});