ErrorBarSeries<T, D> constructor
const
ErrorBarSeries<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, - SortingOrder sortingOrder = SortingOrder.none,
- String? xAxisName,
- String? yAxisName,
- String? name,
- Color? color,
- double width = 2.0,
- EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
- bool initialIsVisible = true,
- double animationDuration = 1500,
- double opacity = 1.0,
- double animationDelay = 1500,
- List<
double> ? dashArray, - SeriesRendererCreatedCallback<
T, D> ? onRendererCreated, - String? legendItemText,
- bool isVisibleInLegend = false,
- LegendIconType legendIconType = LegendIconType.verticalLine,
- ErrorBarType? type = ErrorBarType.fixed,
- Direction? direction = Direction.both,
- RenderingMode? mode = RenderingMode.vertical,
- double? verticalErrorValue = 3.0,
- double? horizontalErrorValue = 1.0,
- double? verticalPositiveErrorValue = 3.0,
- double? horizontalPositiveErrorValue = 1.0,
- double? verticalNegativeErrorValue = 3.0,
- double? horizontalNegativeErrorValue = 1.0,
- double? capLength = 10.0,
- ChartErrorBarRenderCallback? onRenderDetailsUpdate,
- CartesianShaderCallback? onCreateShader,
Creating an argument constructor of ErrorBarSeries class.
Implementation
const ErrorBarSeries({
super.key,
super.onCreateRenderer,
super.dataSource,
required super.xValueMapper,
required super.yValueMapper,
super.sortFieldValueMapper,
super.pointColorMapper,
super.sortingOrder,
super.xAxisName,
super.yAxisName,
super.name,
super.color,
double width = 2.0,
super.emptyPointSettings,
super.initialIsVisible,
super.animationDuration,
super.opacity,
super.animationDelay = 1500,
super.dashArray,
super.onRendererCreated,
super.legendItemText,
super.isVisibleInLegend = false,
super.legendIconType = LegendIconType.verticalLine,
this.type = ErrorBarType.fixed,
this.direction = Direction.both,
this.mode = RenderingMode.vertical,
this.verticalErrorValue = 3.0,
this.horizontalErrorValue = 1.0,
this.verticalPositiveErrorValue = 3.0,
this.horizontalPositiveErrorValue = 1.0,
this.verticalNegativeErrorValue = 3.0,
this.horizontalNegativeErrorValue = 1.0,
this.capLength = 10.0,
this.onRenderDetailsUpdate,
super.onCreateShader,
}) : super(borderWidth: width);