Class ChartErrorBarSettings
Inheritance
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class ChartErrorBarSettings : EJTagHelper
Constructors
ChartErrorBarSettings()
Declaration
public ChartErrorBarSettings()
Properties
Color
The color of the error bar's stroke, which accepts values in hex, rgba, or as a valid CSS color string.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
Direction
Specifies the direction of the error bar. The available options are: Both - Renders error bars in both directions (positive and negative). Minus - Renders error bars in the negative direction. Plus - Renders error bars in the positive direction.
Declaration
public ErrorBarDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
ErrorBarDirection | The default value is ErrorBarDirection.Both |
ErrorBarCap
The errorBarCap
property allows customization of the appearance and behavior of the caps at the ends of error bars in a chart series.
Declaration
public ChartErrorBarCapSettings ErrorBarCap { get; set; }
Property Value
Type | Description |
---|---|
ChartErrorBarCapSettings | The default value is null |
ErrorBarColorMapping
Defines the color for the error bar, which is mapped to the data source mapping name.
Declaration
public string ErrorBarColorMapping { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
HorizontalError
The horizontal error of the point can also be mapped from the data source.
Declaration
public object HorizontalError { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
HorizontalNegativeError
The horizontal negative error of the point can be mapped from the data source as well.
Declaration
public object HorizontalNegativeError { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
HorizontalPositiveError
The horizontal positive error of the point can be mapped from the data source as well.
Declaration
public object HorizontalPositiveError { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Mode
Specifies the mode for the error bar. The available options are: Vertical - Renders error bars in a vertical direction. Horizontal - Renders error bars in a horizontal direction. Both - Renders error bars in both vertical and horizontal directions.
Declaration
public ErrorBarMode Mode { get; set; }
Property Value
Type | Description |
---|---|
ErrorBarMode | The default value is ErrorBarMode.Vertical |
Type
Specifies the type of error bar. The available options are: Fixed - Renders a fixed type error bar. Percentage - Renders a percentage type error bar. StandardDeviation - Renders a standard deviation type error bar. StandardError - Renders a standard error type error bar. Custom - Renders a custom type error bar.
Declaration
public ErrorBarType Type { get; set; }
Property Value
Type | Description |
---|---|
ErrorBarType | The default value is ErrorBarType.Fixed |
VerticalError
The vertical error for the point can also be mapped from the data source.
Declaration
public object VerticalError { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
VerticalNegativeError
The vertical negative error of the point can be mapped from the data source as well.
Declaration
public object VerticalNegativeError { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
VerticalPositiveError
The vertical positive error of the point can be mapped from the data source as well.
Declaration
public object VerticalPositiveError { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Visible
If set to true, the error bar for the data will be rendered.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Width
The width
property determines the thickness of the error bars rendered in the chart series.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |