StackedLine100Series<T, D> constructor
StackedLine100Series<T, D> ({
- ValueKey<
String> ? key, - ChartSeriesRendererFactory<
T, D> ? onCreateRenderer, - required List<
T> dataSource, - required ChartValueMapper<
T, D> xValueMapper, - required ChartValueMapper<
T, num> yValueMapper, - ChartValueMapper<
T, dynamic> ? sortFieldValueMapper, - ChartValueMapper<
T, Color> ? pointColorMapper, - ChartValueMapper<
T, String> ? dataLabelMapper, - String? xAxisName,
- String? yAxisName,
- Color? color,
- double? width,
- MarkerSettings? markerSettings,
- EmptyPointSettings? emptyPointSettings,
- DataLabelSettings? dataLabelSettings,
- bool? isVisible,
- String? name,
- bool? enableTooltip,
- List<
double> ? dashArray, - double? animationDuration,
- List<
Trendline> ? trendlines, - String? groupName,
- SelectionBehavior? selectionBehavior,
- bool? isVisibleInLegend,
- LegendIconType? legendIconType,
- SortingOrder? sortingOrder,
- String? legendItemText,
- double? opacity,
- double? animationDelay,
- SeriesRendererCreatedCallback? onRendererCreated,
- ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- CartesianShaderCallback? onCreateShader,
- List<
int> ? initialSelectedDataIndexes,
Creating an argument constructor of StackedLine100Series class.
Implementation
StackedLine100Series(
{ValueKey<String>? key,
ChartSeriesRendererFactory<T, D>? onCreateRenderer,
required List<T> dataSource,
required ChartValueMapper<T, D> xValueMapper,
required ChartValueMapper<T, num> yValueMapper,
ChartValueMapper<T, dynamic>? sortFieldValueMapper,
ChartValueMapper<T, Color>? pointColorMapper,
ChartValueMapper<T, String>? dataLabelMapper,
String? xAxisName,
String? yAxisName,
Color? color,
double? width,
MarkerSettings? markerSettings,
EmptyPointSettings? emptyPointSettings,
DataLabelSettings? dataLabelSettings,
bool? isVisible,
String? name,
bool? enableTooltip,
List<double>? dashArray,
double? animationDuration,
List<Trendline>? trendlines,
String? groupName,
SelectionBehavior? selectionBehavior,
bool? isVisibleInLegend,
LegendIconType? legendIconType,
SortingOrder? sortingOrder,
String? legendItemText,
double? opacity,
double? animationDelay,
SeriesRendererCreatedCallback? onRendererCreated,
ChartPointInteractionCallback? onPointTap,
ChartPointInteractionCallback? onPointDoubleTap,
ChartPointInteractionCallback? onPointLongPress,
CartesianShaderCallback? onCreateShader,
List<int>? initialSelectedDataIndexes})
: super(
key: key,
onCreateRenderer: onCreateRenderer,
name: name,
xValueMapper: xValueMapper,
yValueMapper: yValueMapper,
sortFieldValueMapper: sortFieldValueMapper,
pointColorMapper: pointColorMapper,
dataLabelMapper: dataLabelMapper,
dataSource: dataSource,
xAxisName: xAxisName,
yAxisName: yAxisName,
color: color,
width: width ?? 2,
trendlines: trendlines,
markerSettings: markerSettings,
emptyPointSettings: emptyPointSettings,
dataLabelSettings: dataLabelSettings,
isVisible: isVisible,
enableTooltip: enableTooltip,
dashArray: dashArray,
animationDuration: animationDuration,
selectionBehavior: selectionBehavior,
legendItemText: legendItemText,
isVisibleInLegend: isVisibleInLegend,
legendIconType: legendIconType,
sortingOrder: sortingOrder,
groupName: groupName,
opacity: opacity,
animationDelay: animationDelay,
onCreateShader: onCreateShader,
onRendererCreated: onRendererCreated,
onPointTap: onPointTap,
onPointDoubleTap: onPointDoubleTap,
onPointLongPress: onPointLongPress,
initialSelectedDataIndexes: initialSelectedDataIndexes);