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