BoxAndWhiskerSeries<T, D> constructor
const
BoxAndWhiskerSeries<T, D> ({
- ValueKey<
String> ? key, - ChartSeriesRendererFactory<
T, D> ? onCreateRenderer, - List<
T> ? dataSource, - required ChartValueMapper<
T, D> ? xValueMapper, - required ChartValueMapper<
T, List< ? yValueMapper,num?> > - ChartValueMapper<
T, dynamic> ? sortFieldValueMapper, - ChartValueMapper<
T, Color> ? pointColorMapper, - ChartValueMapper<
T, String> ? dataLabelMapper, - SortingOrder sortingOrder = SortingOrder.none,
- String? xAxisName,
- String? yAxisName,
- String? name,
- Color? color,
- double width = 0.7,
- double spacing = 0.0,
- MarkerSettings markerSettings = const MarkerSettings(),
- DataLabelSettings dataLabelSettings = const DataLabelSettings(),
- bool initialIsVisible = true,
- bool enableTooltip = true,
- bool enableTrackball = true,
- double animationDuration = 1500,
- Color? borderColor,
- double borderWidth = 1.0,
- LinearGradient? gradient,
- LinearGradient? borderGradient,
- SelectionBehavior? selectionBehavior,
- bool isVisibleInLegend = true,
- LegendIconType legendIconType = LegendIconType.seriesType,
- String? legendItemText,
- List<
double> ? dashArray, - double opacity = 1.0,
- double animationDelay = 0,
- SeriesRendererCreatedCallback<
T, D> ? onRendererCreated, - ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- CartesianShaderCallback? onCreateShader,
- List<
Trendline> ? trendlines, - BoxPlotMode boxPlotMode = BoxPlotMode.normal,
- bool showMean = true,
Creating an argument constructor of BoxAndWhiskerSeries class.
Implementation
const BoxAndWhiskerSeries({
super.key,
super.onCreateRenderer,
super.dataSource,
required super.xValueMapper,
required this.yValueMapper,
super.sortFieldValueMapper,
super.pointColorMapper,
super.dataLabelMapper,
super.sortingOrder,
super.xAxisName,
super.yAxisName,
super.name,
super.color,
this.width = 0.7,
this.spacing = 0.0,
super.markerSettings,
super.dataLabelSettings,
super.initialIsVisible,
super.enableTooltip = true,
super.enableTrackball = true,
super.animationDuration,
this.borderColor,
super.borderWidth = 1.0,
super.gradient,
super.borderGradient,
super.selectionBehavior,
super.isVisibleInLegend,
super.legendIconType,
super.legendItemText,
super.dashArray,
super.opacity,
super.animationDelay,
super.onRendererCreated,
super.onPointTap,
super.onPointDoubleTap,
super.onPointLongPress,
super.onCreateShader,
super.trendlines,
this.boxPlotMode = BoxPlotMode.normal,
this.showMean = true,
});