StackedLine100Series<T, D> constructor
const
StackedLine100Series<T, D> ({
- ValueKey<
String> ? key, - ChartSeriesRendererFactory<
T, D> ? onCreateRenderer, - 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 = 2,
- MarkerSettings markerSettings = const MarkerSettings(),
- EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
- DataLabelSettings dataLabelSettings = const DataLabelSettings(),
- bool initialIsVisible = true,
- String? name,
- bool enableTooltip = true,
- List<
double> ? dashArray, - double animationDuration = 1500,
- List<
Trendline> ? trendlines, - String groupName = '',
- SelectionBehavior? selectionBehavior,
- bool isVisibleInLegend = true,
- LegendIconType legendIconType = LegendIconType.seriesType,
- SortingOrder sortingOrder = SortingOrder.none,
- String? legendItemText,
- double opacity = 1.0,
- double animationDelay = 0,
- SeriesRendererCreatedCallback<
T, D> ? onRendererCreated, - ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- CartesianShaderCallback? onCreateShader,
- List<
int> ? initialSelectedDataIndexes,
Creating an argument constructor of StackedLine100Series class.
Implementation
const StackedLine100Series({
super.key,
super.onCreateRenderer,
super.dataSource,
required super.xValueMapper,
required super.yValueMapper,
super.sortFieldValueMapper,
super.pointColorMapper,
super.dataLabelMapper,
super.xAxisName,
super.yAxisName,
super.color,
double width = 2,
super.markerSettings,
super.emptyPointSettings,
super.dataLabelSettings,
super.initialIsVisible,
super.name,
super.enableTooltip = true,
super.dashArray,
super.animationDuration,
super.trendlines,
this.groupName = '',
super.selectionBehavior,
super.isVisibleInLegend,
super.legendIconType,
super.sortingOrder,
super.legendItemText,
super.opacity,
super.animationDelay,
super.onRendererCreated,
super.onPointTap,
super.onPointDoubleTap,
super.onPointLongPress,
super.onCreateShader,
super.initialSelectedDataIndexes,
}) : super(borderWidth: width);