StackedSeriesBase<T, D> constructor
const
StackedSeriesBase<T, D> ({
- ValueKey<
String> ? key, - ChartSeriesRendererFactory<
T, D> ? onCreateRenderer, - List<
T> ? dataSource, - ChartValueMapper<
T, D> ? xValueMapper, - ChartValueMapper<
T, num> ? yValueMapper, - ChartValueMapper<
T, dynamic> ? sortFieldValueMapper, - ChartValueMapper<
T, Color> ? pointColorMapper, - ChartValueMapper<
T, String> ? dataLabelMapper, - SortingOrder sortingOrder = SortingOrder.none,
- List<
double> ? dashArray, - String? xAxisName,
- String? yAxisName,
- String? name,
- Color? color,
- MarkerSettings markerSettings = const MarkerSettings(),
- EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
- DataLabelSettings dataLabelSettings = const DataLabelSettings(),
- bool initialIsVisible = true,
- LinearGradient? gradient,
- LinearGradient? borderGradient,
- Color trackColor = Colors.grey,
- Color trackBorderColor = Colors.transparent,
- double trackBorderWidth = 1.0,
- double trackPadding = 0.0,
- bool isTrackVisible = false,
- List<
Trendline> ? trendlines, - bool enableTooltip = true,
- double animationDuration = 1500,
- double borderWidth = 2.0,
- SelectionBehavior? selectionBehavior,
- List<
int> ? initialSelectedDataIndexes, - bool isVisibleInLegend = true,
- LegendIconType legendIconType = LegendIconType.seriesType,
- String? legendItemText,
- SeriesRendererCreatedCallback<
T, D> ? onRendererCreated, - ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- CartesianShaderCallback? onCreateShader,
- double animationDelay = 0,
- double opacity = 1.0,
Creates an instance of stacked series renderer.
Implementation
const StackedSeriesBase({
super.key,
super.onCreateRenderer,
super.dataSource,
super.xValueMapper,
super.yValueMapper,
super.sortFieldValueMapper,
super.pointColorMapper,
super.dataLabelMapper,
super.sortingOrder,
super.dashArray,
super.xAxisName,
super.yAxisName,
super.name,
super.color,
super.markerSettings,
super.emptyPointSettings,
super.dataLabelSettings,
super.initialIsVisible,
super.gradient,
super.borderGradient,
this.trackColor = Colors.grey,
this.trackBorderColor = Colors.transparent,
this.trackBorderWidth = 1.0,
this.trackPadding = 0.0,
this.isTrackVisible = false,
super.trendlines,
super.enableTooltip = true,
super.animationDuration,
super.borderWidth,
super.selectionBehavior,
super.initialSelectedDataIndexes,
super.isVisibleInLegend,
super.legendIconType,
super.legendItemText,
super.onRendererCreated,
super.onPointTap,
super.onPointDoubleTap,
super.onPointLongPress,
super.onCreateShader,
super.animationDelay,
super.opacity,
});