BubbleSeries<T, D> constructor
BubbleSeries<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, num> ? sizeValueMapper, - ChartValueMapper<
T, Color> ? pointColorMapper, - ChartValueMapper<
T, String> ? dataLabelMapper, - String? xAxisName,
- String? yAxisName,
- Color? color,
- MarkerSettings? markerSettings,
- List<
Trendline> ? trendlines, - num minimumRadius = 3,
- num maximumRadius = 10,
- EmptyPointSettings? emptyPointSettings,
- DataLabelSettings? dataLabelSettings,
- bool? isVisible,
- String? name,
- bool? enableTooltip,
- List<
double> ? dashArray, - double? animationDuration,
- Color? borderColor,
- double? borderWidth,
- LinearGradient? gradient,
- LinearGradient? borderGradient,
- 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 BubbleSeries class.
Implementation
BubbleSeries(
{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, num>? sizeValueMapper,
ChartValueMapper<T, Color>? pointColorMapper,
ChartValueMapper<T, String>? dataLabelMapper,
String? xAxisName,
String? yAxisName,
Color? color,
MarkerSettings? markerSettings,
List<Trendline>? trendlines,
this.minimumRadius = 3,
this.maximumRadius = 10,
EmptyPointSettings? emptyPointSettings,
DataLabelSettings? dataLabelSettings,
bool? isVisible,
String? name,
bool? enableTooltip,
List<double>? dashArray,
double? animationDuration,
Color? borderColor,
double? borderWidth,
LinearGradient? gradient,
LinearGradient? borderGradient,
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,
onRendererCreated: onRendererCreated,
onPointTap: onPointTap,
onPointDoubleTap: onPointDoubleTap,
onPointLongPress: onPointLongPress,
xValueMapper: xValueMapper,
yValueMapper: yValueMapper,
sortFieldValueMapper: sortFieldValueMapper,
pointColorMapper: pointColorMapper,
dataLabelMapper: dataLabelMapper,
sizeValueMapper: sizeValueMapper,
dataSource: dataSource,
trendlines: trendlines,
xAxisName: xAxisName,
yAxisName: yAxisName,
color: color,
markerSettings: markerSettings,
emptyPointSettings: emptyPointSettings,
dataLabelSettings: dataLabelSettings,
isVisible: isVisible,
enableTooltip: enableTooltip,
dashArray: dashArray,
animationDuration: animationDuration,
borderColor: borderColor,
borderWidth: borderWidth,
gradient: gradient,
borderGradient: borderGradient,
selectionBehavior: selectionBehavior,
legendItemText: legendItemText,
isVisibleInLegend: isVisibleInLegend,
legendIconType: legendIconType,
sortingOrder: sortingOrder,
opacity: opacity,
animationDelay: animationDelay,
onCreateShader: onCreateShader,
initialSelectedDataIndexes: initialSelectedDataIndexes);