FunnelSeries<T, D> constructor
const
FunnelSeries<T, D> ({
- ValueKey<
String> ? key, - ChartSeriesRendererFactory<
T, D> ? onCreateRenderer, - FunnelSeriesRendererCreatedCallback<
T, D> ? onRendererCreated, - ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- List<
T> ? dataSource, - ChartValueMapper<
T, D> ? xValueMapper, - EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
- DataLabelSettings dataLabelSettings = const DataLabelSettings(),
- ChartValueMapper<
T, num> ? yValueMapper, - ChartValueMapper<
T, Color> ? pointColorMapper, - ChartValueMapper<
T, String> ? textFieldMapper, - String? name,
- num? explodeIndex,
- String neckWidth = '20%',
- String neckHeight = '20%',
- String height = '80%',
- String width = '80%',
- double gapRatio = 0,
- String explodeOffset = '10%',
- bool explode = false,
- ActivationMode explodeGesture = ActivationMode.singleTap,
- Color borderColor = Colors.transparent,
- double borderWidth = 2.0,
- LegendIconType legendIconType = LegendIconType.seriesType,
- double animationDuration = 1500,
- double animationDelay = 0,
- double opacity = 1.0,
- SelectionBehavior? selectionBehavior,
- List<
int> ? initialSelectedDataIndexes,
Creating an argument constructor of FunnelSeries class.
Implementation
const FunnelSeries({
super.key,
this.onCreateRenderer,
this.onRendererCreated,
super.onPointTap,
super.onPointDoubleTap,
super.onPointLongPress,
super.dataSource,
super.xValueMapper,
super.emptyPointSettings,
super.dataLabelSettings,
this.yValueMapper,
super.pointColorMapper,
ChartValueMapper<T, String>? textFieldMapper,
super.name,
this.explodeIndex,
this.neckWidth = '20%',
this.neckHeight = '20%',
this.height = '80%',
this.width = '80%',
this.gapRatio = 0,
this.explodeOffset = '10%',
this.explode = false,
this.explodeGesture = ActivationMode.singleTap,
this.borderColor = Colors.transparent,
super.borderWidth,
super.legendIconType,
super.animationDuration,
super.animationDelay,
super.opacity,
super.selectionBehavior,
super.initialSelectedDataIndexes,
}) : super(
dataLabelMapper: textFieldMapper,
);