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