wpf-116251-controls-and-libraries-charts-suite-chart-control-series-indicators-error-bars.md
The Chart control makes it possible to place Error Bars on a diagram to indicate uncertainty or errors in chart point values.
This document consists of the following sections:
The Chart control provides the following Error Bar indicators:
|
Error Bars
|
Description
|
Specific Parameters
| | --- | --- | --- | |
Fixed (FixedValueErrorBars)
|
Error values are specified by constant values.
|
FixedValueErrorBars.PositiveError
FixedValueErrorBars.NegativeError
| |
Percentage (PercentageErrorBars)
|
Error values are calculated as a portion of series values.
|
| |
Standard Error (StandardErrorBars)
|
Error values represent a standard error.
|
| |
Standard Deviation (StandardDeviationErrorBars)
|
Error values represent a standard deviation.
|
StandardDeviationErrorBars.Multiplier
| |
Data Source Based (DataSourceBasedErrorBars)
|
Error values are obtained from a data source.
|
DataSourceBasedErrorBars.PositiveErrorDataMember
DataSourceBasedErrorBars.NegativeErrorDataMember
|
The markup below shows how to add the Percentage Error Bars indicator to a chart:
<dxc:PointSeries2D x:Name="pointSeries"
DisplayName="Series">
<dxc:PointSeries2D.Indicators>
<dxc:PercentageErrorBars Percent="10"
Direction="Both"
EndStyle="Cap"
ShowInLegend="True"
LegendText="Percentage Error Bars"/>
</dxc:PointSeries2D.Indicators>
<!--...-->
</dxc:PointSeries2D>
The following classes and properties are used in this code:
| Class or Property | Description |
|---|---|
| XYSeries2D.Indicators | The series collection of indicators. |
| PercentageErrorBars | The Percentage Error Bars indicator. |
| PercentageErrorBars.Percent | Specifies the error percentage for series point values.. |
| ErrorBars.Direction | Specifies the error bar direction. |
| ErrorBars.EndStyle | Specifies the style of the error bar end. |
| Indicator.ShowInLegend | Specifies whether to show the indicator in a legend. |
| Indicator.LegendText | Specifies text that identifies the indicator in a legend. |
See Also
How to: Add the Fixed Value Error Bars Indicator to a Chart
How to: Add the Percentage Error Bars Indicator to a Chart
How to: Add the Standard Error Bars Indicator to a Chart
How to: Add the Standard Deviation Error Bars Indicator to a Chart
How to: Add the Data Source Based Error Bars Indicator to a Chart