ErrorBarSeries<T, D> class Null safety

This class has the properties of the error bar series.

To render a error bar chart, create an instance of ErrorBarSeries, and add it to the series collection property of SfCartesianChart.

Inheritance

Constructors

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, 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.

Properties

animationDelay double?
Delay duration of the series animation.It takes a millisecond value as input. By default, the series will get animated for the specified duration. If animationDelay is specified, then the series will begin to animate after the specified duration.
finalinherited
animationDuration double
Duration of the series animation. It takes millisecond value as input.
finalinherited
borderColor Color
Border color of the series.
finalinherited
borderGradient LinearGradient?
Fills the border of the chart series with gradient color.
finalinherited
borderWidth double
Border width of the series.
finalinherited
capLength double?
Length of the error bar's cap.
final
color Color?
Color of the series.
finalinherited
dashArray List<double>
Dashes of the series.
finalinherited
dataLabelMapper ChartIndexedValueMapper<String>?
Field in the data source, which is considered as text for the data points.
finalinherited
dataLabelSettings DataLabelSettings
Customizes the data labels in a series. Data label is a text, which displays the details about the data point.
finalinherited
dataSource List<T>
Data required for rendering the series.
finalinherited
direction Direction?
Direction of error bar.
final
emptyPointSettings EmptyPointSettings
Customizes the empty points, i.e. null data points in a series.
finalinherited
enableTooltip bool
Enables or disables the tooltip for this series.
finalinherited
gradient LinearGradient?
Fills the chart series with gradient color.
finalinherited
hashCode int
The hash code for this object.
read-onlyoverride
highValueMapper ChartIndexedValueMapper<num>?
Field in the data source, which is considered as high value for the data points.
finalinherited
horizontalErrorValue double?
Horizontal error value in X direction..
final
horizontalNegativeErrorValue double?
Horizontal error value in negative X direction. It's only applicable for 'ErrorBarType.custom'.
final
horizontalPositiveErrorValue double?
Horizontal error value in positive X direction. It's only applicable for 'ErrorBarType.custom'.
final
initialSelectedDataIndexes List<int>?
List of data indexes to initially be selected.
finalinherited
intermediateSumPredicate ChartIndexedValueMapper<bool>?
A boolean value, based on which the data point will be considered as intermediate sum or not.
finalinherited
isVisible bool
Toggles the visibility of the series.
finalinherited
isVisibleInLegend bool
Toggles the visibility of the legend item of this specific series in the legend.
finalinherited
key ValueKey<String>?
Key to identify a series in a collection.
finalinherited
legendIconType LegendIconType
Shape of the legend icon.
finalinherited
legendItemText String?
Text to be displayed in legend.
finalinherited
lowValueMapper ChartIndexedValueMapper<num>?
Field in the data source, which is considered as low value for the data points.
finalinherited
markerSettings MarkerSettings
Indication of data points.
finalinherited
mode RenderingMode?
Mode of error bar.
final
name String?
Name of the series.
finalinherited
onCreateRenderer ChartSeriesRendererFactory<T, D>?
Used to create the renderer for custom series.
finalinherited
onCreateShader CartesianShaderCallback?
Fills the data points with the gradient and image shaders.
finalinherited
onPointDoubleTap ChartPointInteractionCallback?
Called when double tapped on the chart data point.
finalinherited
onPointLongPress ChartPointInteractionCallback?
Called when long pressed on the chart data point.
finalinherited
onPointTap ChartPointInteractionCallback?
Called when tapped on the chart data point.
finalinherited
onRenderDetailsUpdate ChartErrorBarRenderCallback?
Callback which gets called on error bar render.
final
onRendererCreated SeriesRendererCreatedCallback?
Triggers when the series renderer is created.
finalinherited
opacity double
Opacity of the series.
finalinherited
pointColorMapper ChartIndexedValueMapper<Color>?
Field in the data source, which is considered as fill color for the data points.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
selectionBehavior SelectionBehavior
Customizes the data points or series on selection.
finalinherited
sizeValueMapper ChartIndexedValueMapper<num>?
Field in the data source, which is considered as size of the bubble for all the data points.
finalinherited
sortFieldValueMapper ChartIndexedValueMapper?
Field in the data source, which is considered for sorting the data points.
finalinherited
sortingOrder SortingOrder
The data points in the series can be sorted in ascending or descending order.
finalinherited
totalSumPredicate ChartIndexedValueMapper<bool>?
A boolean value, based on which the data point will be considered as total sum or not.
finalinherited
trendlines List<Trendline>?
Customizes the trendlines.
finalinherited
type ErrorBarType?
Type of the error bar.
final
verticalErrorValue double?
Vertical error value in Y direction.
final
verticalNegativeErrorValue double?
Vertical error value in negative Y direction. It's only applicable for 'ErrorBarType.custom'.
final
verticalPositiveErrorValue double?
Vertical error value in positive Y direction. It's only applicable for 'ErrorBarType.custom'.
final
width double?
Width of the series.
finalinherited
xAxisName String?
Name of the x-axis to bind the series.
finalinherited
xValueMapper ChartIndexedValueMapper<D>?
Field in the data source, which is considered as x-value.
finalinherited
yAxisName String?
Name of the y-axis to bind the series.
finalinherited
yValueMapper ChartIndexedValueMapper?
Field in the data source, which is considered as y-value.
finalinherited

Methods

createRenderer(ChartSeries<T, D> series) ErrorBarSeriesRenderer
Create the error bar series renderer.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override