Error Chart

An error chart displays error bars next to each data item.

The error chart is based on XY Plot and XY Line Renderer. It inherits all their properties.

This is what error chart looks like:

Dataset

The error chart supports Custom Data model only.

It has the following Source Data Bindings:

Binding

Expected Value Type

Description

Series

String

Textual name of the data series.

X

Number

Numeric value to display along the domain (X) axis.

X Low

Number

X-error interval lower bound.

X High

Number

X-error interval upper bound.

Y

Number

Numeric value to display along the range (Y) axis.

Y Low

Number

Y-error interval lower bound.

Y High

Number

Y-error interval upper bound.

Additional dataset properties:

Auto Sort

Flag that controls whether the items in the series are automatically sorted into ascending order by x-value.

Property name: autoSort

Property type: Boolean

Allow Duplicate X Values

Flag that controls whether two or more items in the series can have the same x-value.

Property name: allowDuplicateXValues

Property type: Boolean

Common Properties

Width, Height, Bindings, Visible, Opaque, Background, Border

All Common Chart Properties.

All Data-related properties.

All properties of a XY Plot.

All properties of a XY Line Renderer.

Custom Properties

Draw X-Error

Flag that controls whether or not error bars are drawn for the x-values in the dataset.

Property name: drawXError

Property type: Boolean

Draw Y-Error

Flag that controls whether or not error bars are drawn for the y-values in the dataset.

Property name: drawYError

Property type: Boolean

Cap Length

Length of the caps at each end of the error bar for each data value.

Property name: capLength

Property type: Float

Error Paint

Paint used to draw the error bars. If disabled, the renderer will use the series paint.

Property name: errorPaint

Property type: Data Table

Error Stroke

Stroke used to draw the error bars. If disabled, the renderer will use the series stoke.

Property name: errorStroke

Property type: Data Table

Common Events

Hidden, Shown, Moved, Resized, Mouse Clicked, Mouse Pressed, Mouse Released, Mouse Entered, Mouse Exited, Mouse Moved, Mouse Wheel Moved, Key Typed, Key Pressed, Key Released, Focus Gained, Focus Lost

All relevant chart events.

Additional Examples

An error chart with Draw X-error disabled and Default Lines Visibility enabled:

Almost same as above, but with different settings:

Was this page helpful?