Class ErrorBar
Inherited Members
Namespace: Syncfusion.JavaScript.DataVisualization.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class ErrorBar : EJTagHelper
Constructors
ErrorBar()
Declaration
public ErrorBar()
Properties
Cap
Gets or sets the Cap of the error bar, which provides an option for customizing the cap of error bar that is to be rendered.
Declaration
[JsonProperty("cap")]
public ErrorBarCap Cap { get; set; }
Property Value
Type | Description |
---|---|
ErrorBarCap |
Remarks
Options for customizing the error bar cap.
Direction
Gets or sets the Direction of error bar, which specifies direction of error bar like plus, minus and both options.
Declaration
[JsonProperty("direction")]
[JsonConverter(typeof(StringEnumConverter))]
public ErrorBarDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
ErrorBarDirection |
Remarks
Specifies the direction of error bar.
Fill
Gets or sets the Fill color of the error bar, which provides an option to customize the fill color for error bar.
Declaration
[JsonProperty("fill")]
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Fill color of the error bar.
HorizontalErrorValue
Gets or sets the HorizontalErrorValue of the error bar, which provides an option to customize horizontal error bar value.
Declaration
[JsonProperty("horizontalErrorValue")]
public int HorizontalErrorValue { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Value of horizontal error bar.
HorizontalNegativeErrorValue
Gets or sets the HorizontalNegativeErrorValue of the error bar, which provides an option to customize negative value of horizontal error bar.
Declaration
[JsonProperty("horizontalNegativeErrorValue")]
public int HorizontalNegativeErrorValue { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Value of negative horizontal error bar.
HorizontalPositiveErrorValue
Gets or sets the HorizontalPositiveErrorValue of the error bar, which provides an option to customize positive value of horizontal error bar.
Declaration
[JsonProperty("horizontalPositiveErrorValue")]
public int HorizontalPositiveErrorValue { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Value of positive horizontal error bar.
Mode
Gets or sets the Mode of error bar, which specifies mode of error bar like vertical, horizontal or both options.
Declaration
[JsonProperty("mode")]
[JsonConverter(typeof(StringEnumConverter))]
public ErrorBarMode Mode { get; set; }
Property Value
Type | Description |
---|---|
ErrorBarMode |
Remarks
Specifies the mode of error bar.
Opacity
Gets or sets the Opacity of the error bar, which renders the error bar in the specified opacity value for error bar.
Declaration
[JsonProperty("opacity")]
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
Opacity of the error bar
Type
Gets or sets the Type of error bar, which provides an option to customize the type of error bar to be rendered.
Declaration
[JsonProperty("type")]
[JsonConverter(typeof(StringEnumConverter))]
public ErrorBarType Type { get; set; }
Property Value
Type | Description |
---|---|
ErrorBarType |
Remarks
Specifies error bar type.
VerticalErrorValue
Gets or sets the VerticalErrorValue of the error bar, which provides an option to customize vertical error bar value.
Declaration
[JsonProperty("verticalErrorValue")]
public int VerticalErrorValue { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Value of vertical error bar.
VerticalNegativeErrorValue
Gets or sets the VerticalNegativeErrorValue of the error bar, which provides an option to customize negative value of vertical error bar.
Declaration
[JsonProperty("verticalNegativeErrorValue")]
public int VerticalNegativeErrorValue { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Value of negative vertical error bar.
VerticalPositiveErrorValue
Gets or sets the VerticalPositiveErrorValue of the error bar, which provides an option to customize positive value of vertical error bar.
Declaration
[JsonProperty("verticalPositiveErrorValue")]
public int VerticalPositiveErrorValue { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Value of positive vertical error bar.
Visibility
Gets or sets the value of Visible property of error bar, which controls the visibility of error bar that is to be rendered.
Declaration
[JsonProperty("visibility")]
public string Visibility { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Show/hides the error bar
Width
Gets or sets the Width of the error bar, which renders the error bar in the specified width, whose default value is 1.
Declaration
[JsonProperty("width")]
public int Width { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Width of the error bar.
Methods
ShouldSerializeCap()
Declaration
public bool ShouldSerializeCap()
Returns
Type | Description |
---|---|
System.Boolean |