HiloSeries<T, D> constructor
const
HiloSeries<T, D> ({
- ValueKey<
String> ? key, - ChartSeriesRendererFactory<
T, D> ? onCreateRenderer, - List<
T> ? dataSource, - required ChartValueMapper<
T, D> ? xValueMapper, - required ChartValueMapper<
T, num> ? lowValueMapper, - required ChartValueMapper<
T, num> ? highValueMapper, - ChartValueMapper<
T, dynamic> ? sortFieldValueMapper, - ChartValueMapper<
T, Color> ? pointColorMapper, - ChartValueMapper<
T, String> ? dataLabelMapper, - SortingOrder sortingOrder = SortingOrder.none,
- String? xAxisName,
- String? yAxisName,
- String? name,
- Color? color,
- MarkerSettings markerSettings = const MarkerSettings(),
- EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
- DataLabelSettings dataLabelSettings = const DataLabelSettings(),
- bool initialIsVisible = true,
- bool enableTooltip = true,
- double animationDuration = 1500,
- double borderWidth = 2,
- SelectionBehavior? selectionBehavior,
- bool isVisibleInLegend = true,
- LegendIconType legendIconType = LegendIconType.seriesType,
- String? legendItemText,
- List<
double> ? dashArray, - double opacity = 1.0,
- double animationDelay = 0,
- double spacing = 0,
- List<
int> ? initialSelectedDataIndexes, - bool showIndicationForSameValues = false,
- List<
Trendline> ? trendlines, - SeriesRendererCreatedCallback<
T, D> ? onRendererCreated, - ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- 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,
});