SplineAreaSeries<T, D> constructor
SplineAreaSeries<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, String> ? dataLabelMapper, - SortingOrder? sortingOrder,
- String? xAxisName,
- String? yAxisName,
- String? name,
- Color? color,
- MarkerSettings? markerSettings,
- SplineType? splineType,
- List<
Trendline> ? trendlines, - double cardinalSplineTension = 0.5,
- EmptyPointSettings? emptyPointSettings,
- DataLabelSettings? dataLabelSettings,
- bool? isVisible,
- bool? enableTooltip,
- List<
double> ? dashArray, - double? animationDuration,
- Color? borderColor,
- double? borderWidth,
- LinearGradient? gradient,
- LinearGradient? borderGradient,
- SelectionBehavior? selectionBehavior,
- bool? isVisibleInLegend,
- LegendIconType? legendIconType,
- String? legendItemText,
- double? opacity,
- double? animationDelay,
- SeriesRendererCreatedCallback? onRendererCreated,
- ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- CartesianShaderCallback? onCreateShader,
- BorderDrawMode borderDrawMode = BorderDrawMode.top,
Creating an argument constructor of SplineAreaSeries class.
Implementation
SplineAreaSeries(
{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, String>? dataLabelMapper,
SortingOrder? sortingOrder,
String? xAxisName,
String? yAxisName,
String? name,
Color? color,
MarkerSettings? markerSettings,
this.splineType,
List<Trendline>? trendlines,
this.cardinalSplineTension = 0.5,
EmptyPointSettings? emptyPointSettings,
DataLabelSettings? dataLabelSettings,
bool? isVisible,
bool? enableTooltip,
List<double>? dashArray,
double? animationDuration,
Color? borderColor,
double? borderWidth,
LinearGradient? gradient,
LinearGradient? borderGradient,
SelectionBehavior? selectionBehavior,
bool? isVisibleInLegend,
LegendIconType? legendIconType,
String? legendItemText,
double? opacity,
double? animationDelay,
SeriesRendererCreatedCallback? onRendererCreated,
ChartPointInteractionCallback? onPointTap,
ChartPointInteractionCallback? onPointDoubleTap,
ChartPointInteractionCallback? onPointLongPress,
CartesianShaderCallback? onCreateShader,
this.borderDrawMode = BorderDrawMode.top})
: super(
key: key,
onCreateRenderer: onCreateRenderer,
xValueMapper: xValueMapper,
yValueMapper: yValueMapper,
sortFieldValueMapper: sortFieldValueMapper,
dataLabelMapper: dataLabelMapper,
dataSource: dataSource,
xAxisName: xAxisName,
yAxisName: yAxisName,
name: name,
color: color,
trendlines: trendlines,
markerSettings: markerSettings,
dataLabelSettings: dataLabelSettings,
isVisible: isVisible,
emptyPointSettings: emptyPointSettings,
enableTooltip: enableTooltip,
dashArray: dashArray,
animationDuration: animationDuration,
borderColor: borderColor,
borderWidth: borderWidth,
gradient: gradient,
borderGradient: borderGradient,
selectionBehavior: selectionBehavior,
legendItemText: legendItemText,
isVisibleInLegend: isVisibleInLegend,
legendIconType: legendIconType,
sortingOrder: sortingOrder,
onRendererCreated: onRendererCreated,
onPointTap: onPointTap,
onPointDoubleTap: onPointDoubleTap,
onPointLongPress: onPointLongPress,
opacity: opacity,
animationDelay: animationDelay,
onCreateShader: onCreateShader);