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