RangeAreaSeries<T, D> constructor
RangeAreaSeries<T, D> ({
- 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,
- String? xAxisName,
- List<
Trendline> ? trendlines, - String? yAxisName,
- String? name,
- Color? color,
- MarkerSettings? markerSettings,
- EmptyPointSettings? emptyPointSettings,
- DataLabelSettings? dataLabelSettings,
- bool? isVisible,
- bool? enableTooltip,
- List<
double> ? dashArray, - double? animationDuration,
- Color? borderColor,
- double? borderWidth,
- LinearGradient? gradient,
- LinearGradient? borderGradient,
- SelectionSettings? selectionSettings,
- SelectionBehavior? selectionBehavior,
- bool? isVisibleInLegend,
- LegendIconType? legendIconType,
- String? legendItemText,
- double? opacity,
- RangeAreaBorderMode borderDrawMode = RangeAreaBorderMode.all,
- SeriesRendererCreatedCallback? onRendererCreated,
Creating an argument constructor of RangeAreaSeries class.
Implementation
RangeAreaSeries(
{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,
String? xAxisName,
List<Trendline>? trendlines,
String? yAxisName,
String? name,
Color? color,
MarkerSettings? markerSettings,
EmptyPointSettings? emptyPointSettings,
DataLabelSettings? dataLabelSettings,
bool? isVisible,
bool? enableTooltip,
List<double>? dashArray,
double? animationDuration,
Color? borderColor,
double? borderWidth,
LinearGradient? gradient,
LinearGradient? borderGradient,
// ignore: deprecated_member_use_from_same_package
SelectionSettings? selectionSettings,
SelectionBehavior? selectionBehavior,
bool? isVisibleInLegend,
LegendIconType? legendIconType,
String? legendItemText,
double? opacity,
this.borderDrawMode = RangeAreaBorderMode.all,
SeriesRendererCreatedCallback? onRendererCreated})
: super(
key: key,
onCreateRenderer: onCreateRenderer,
xValueMapper: xValueMapper,
highValueMapper: highValueMapper,
lowValueMapper: lowValueMapper,
sortFieldValueMapper: sortFieldValueMapper,
pointColorMapper: pointColorMapper,
dataLabelMapper: dataLabelMapper,
dataSource: dataSource,
trendlines: trendlines,
xAxisName: xAxisName,
yAxisName: yAxisName,
name: name,
color: color,
markerSettings: markerSettings,
dataLabelSettings: dataLabelSettings,
isVisible: isVisible,
emptyPointSettings: emptyPointSettings,
enableTooltip: enableTooltip,
dashArray: dashArray,
animationDuration: animationDuration,
borderColor: borderColor,
borderWidth: borderWidth,
gradient: gradient,
borderGradient: borderGradient,
selectionSettings: selectionSettings,
selectionBehavior: selectionBehavior,
legendItemText: legendItemText,
isVisibleInLegend: isVisibleInLegend,
legendIconType: legendIconType,
sortingOrder: sortingOrder,
onRendererCreated: onRendererCreated,
opacity: opacity);