StepAreaSeries<T, D> constructor
const
StepAreaSeries<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, Color> ? pointColorMapper, - ChartValueMapper<
T, String> ? dataLabelMapper, - SortingOrder sortingOrder = SortingOrder.none,
- String? xAxisName,
- String? yAxisName,
- String? name,
- Color? color,
- MarkerSettings markerSettings = const MarkerSettings(),
- List<
Trendline> ? trendlines, - EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
- DataLabelSettings dataLabelSettings = const DataLabelSettings(),
- bool initialIsVisible = true,
- bool enableTooltip = true,
- bool enableTrackball = true,
- List<
double> ? dashArray, - double animationDuration = 1500,
- Color borderColor = Colors.transparent,
- double borderWidth = 2.0,
- LinearGradient? gradient,
- LinearGradient? borderGradient,
- 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,
- BorderDrawMode borderDrawMode = BorderDrawMode.top,
Creating an argument constructor of StepAreaSeries class.
Implementation
const StepAreaSeries({
super.key,
super.onCreateRenderer,
super.dataSource,
required super.xValueMapper,
required super.yValueMapper,
super.sortFieldValueMapper,
super.pointColorMapper,
super.dataLabelMapper,
super.sortingOrder,
super.xAxisName,
super.yAxisName,
super.name,
super.color,
super.markerSettings,
super.trendlines,
super.emptyPointSettings,
super.dataLabelSettings,
super.initialIsVisible,
super.enableTooltip = true,
super.enableTrackball = true,
super.dashArray,
super.animationDuration,
this.borderColor = Colors.transparent,
super.borderWidth,
super.gradient,
super.borderGradient,
super.selectionBehavior,
super.isVisibleInLegend,
super.legendIconType,
super.legendItemText,
super.opacity,
super.animationDelay,
super.onRendererCreated,
super.onPointTap,
super.onPointDoubleTap,
super.onPointLongPress,
super.onCreateShader,
this.borderDrawMode = BorderDrawMode.top,
});