RangeColumnSeries<T, D> constructor
RangeColumnSeries<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,
- bool isTrackVisible = false,
- String? xAxisName,
- String? yAxisName,
- String? name,
- Color? color,
- double? width,
- double spacing = 0,
- MarkerSettings? markerSettings,
- EmptyPointSettings? emptyPointSettings,
- DataLabelSettings? dataLabelSettings,
- bool? isVisible,
- LinearGradient? gradient,
- LinearGradient? borderGradient,
- BorderRadius borderRadius = BorderRadius.zero,
- bool? enableTooltip,
- double? animationDuration,
- Color trackColor = Colors.grey,
- Color trackBorderColor = Colors.transparent,
- double trackBorderWidth = 1,
- double trackPadding = 0,
- Color? borderColor,
- List<
Trendline> ? trendlines, - double? borderWidth,
- SelectionBehavior? selectionBehavior,
- bool? isVisibleInLegend,
- LegendIconType? legendIconType,
- String? legendItemText,
- double? opacity,
- double? animationDelay,
- List<
double> ? dashArray, - SeriesRendererCreatedCallback? onRendererCreated,
- ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- CartesianShaderCallback? onCreateShader,
- List<
int> ? initialSelectedDataIndexes,
Creating an argument constructor of RangeColumnSeries class.
Implementation
RangeColumnSeries(
{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,
this.isTrackVisible = false,
String? xAxisName,
String? yAxisName,
String? name,
Color? color,
double? width,
this.spacing = 0,
MarkerSettings? markerSettings,
EmptyPointSettings? emptyPointSettings,
DataLabelSettings? dataLabelSettings,
bool? isVisible,
LinearGradient? gradient,
LinearGradient? borderGradient,
this.borderRadius = BorderRadius.zero,
bool? enableTooltip,
double? animationDuration,
this.trackColor = Colors.grey,
this.trackBorderColor = Colors.transparent,
this.trackBorderWidth = 1,
this.trackPadding = 0,
Color? borderColor,
List<Trendline>? trendlines,
double? borderWidth,
SelectionBehavior? selectionBehavior,
bool? isVisibleInLegend,
LegendIconType? legendIconType,
String? legendItemText,
double? opacity,
double? animationDelay,
List<double>? dashArray,
SeriesRendererCreatedCallback? onRendererCreated,
ChartPointInteractionCallback? onPointTap,
ChartPointInteractionCallback? onPointDoubleTap,
ChartPointInteractionCallback? onPointLongPress,
CartesianShaderCallback? onCreateShader,
List<int>? initialSelectedDataIndexes})
: super(
key: key,
onCreateRenderer: onCreateRenderer,
name: name,
xValueMapper: xValueMapper,
highValueMapper: highValueMapper,
lowValueMapper: lowValueMapper,
sortFieldValueMapper: sortFieldValueMapper,
pointColorMapper: pointColorMapper,
dataLabelMapper: dataLabelMapper,
dataSource: dataSource,
trendlines: trendlines,
xAxisName: xAxisName,
yAxisName: yAxisName,
color: color,
width: width ?? 0.7,
markerSettings: markerSettings,
dataLabelSettings: dataLabelSettings,
isVisible: isVisible,
gradient: gradient,
borderGradient: borderGradient,
emptyPointSettings: emptyPointSettings,
enableTooltip: enableTooltip,
animationDuration: animationDuration,
borderColor: borderColor,
borderWidth: borderWidth,
selectionBehavior: selectionBehavior,
legendItemText: legendItemText,
isVisibleInLegend: isVisibleInLegend,
legendIconType: legendIconType,
sortingOrder: sortingOrder,
opacity: opacity,
animationDelay: animationDelay,
onCreateShader: onCreateShader,
dashArray: dashArray,
onRendererCreated: onRendererCreated,
onPointTap: onPointTap,
onPointDoubleTap: onPointDoubleTap,
onPointLongPress: onPointLongPress,
initialSelectedDataIndexes: initialSelectedDataIndexes);