RangeAreaSeries<T, D> constructor
const
RangeAreaSeries<T, D> ({
- ValueKey<
String> ? key, - ChartSeriesRendererFactory<
T, D> ? onCreateRenderer, - 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 = SortingOrder.none,
- String? xAxisName,
- List<
Trendline> ? trendlines, - String? yAxisName,
- String? name,
- Color? color,
- MarkerSettings markerSettings = const MarkerSettings(),
- EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
- DataLabelSettings dataLabelSettings = const DataLabelSettings(),
- bool initialIsVisible = true,
- bool enableTooltip = true,
- List<
double> ? dashArray, - double animationDuration = 1500,
- Color borderColor = Colors.transparent,
- double borderWidth = 2.0,
- LinearGradient? gradient,
- LinearGradient? borderGradient,
- SelectionBehavior? selectionBehavior,
- bool isVisibleInLegend = true,
- LegendIconType legendIconType = LegendIconType.seriesType,
- String? legendItemText,
- double opacity = 1.0,
- double animationDelay = 0,
- RangeAreaBorderMode borderDrawMode = RangeAreaBorderMode.all,
- SeriesRendererCreatedCallback<
T, D> ? onRendererCreated, - ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- CartesianShaderCallback? onCreateShader,
Creating an argument constructor of RangeAreaSeries class.
Implementation
const RangeAreaSeries({
super.key,
super.onCreateRenderer,
super.dataSource,
required super.xValueMapper,
required super.highValueMapper,
required super.lowValueMapper,
super.sortFieldValueMapper,
super.pointColorMapper,
super.dataLabelMapper,
super.sortingOrder,
super.xAxisName,
super.trendlines,
super.yAxisName,
super.name,
super.color,
super.markerSettings,
super.emptyPointSettings,
super.dataLabelSettings,
super.initialIsVisible,
super.enableTooltip = true,
super.dashArray,
super.animationDuration,
super.borderColor = Colors.transparent,
super.borderWidth,
super.gradient,
super.borderGradient,
super.selectionBehavior,
super.isVisibleInLegend,
super.legendIconType,
super.legendItemText,
super.opacity,
super.animationDelay,
this.borderDrawMode = RangeAreaBorderMode.all,
super.onRendererCreated,
super.onPointTap,
super.onPointDoubleTap,
super.onPointLongPress,
super.onCreateShader,
});