[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Collapse]Charts Suite
   [Collapse]Chart Control
    [Expand]Getting Started
    [Expand]Fundamentals
    [Expand]Providing Data
    [Collapse]Chart Elements
     [Expand]Diagram
     [Collapse]Series
       Series Points
       Series Point Labels
      [Collapse]Indicators
       [Expand]Simple Indicators
        Moving Average and Envelope
        Fibonacci Indicators
        Oscillator Indicators
        Trend Indicators
        Price Indicators
        Error Bars
       Series Titles
       Total Labels
     [Expand]Panes
     [Expand]Axes
      Legends
      Chart Titles
      Annotations
    [Expand]Appearance Customization
    [Expand]End-User Features
    [Expand]Design-Time Features
    [Expand]Examples
    [Expand]Additional Resources
   [Expand]Chart3D Control
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Error Bars

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:

Expanded Available Error Bar Indicators

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.

PercentageErrorBars.Percent

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

Expanded How to Add Error Bars to a Chart

The markup below shows how to add the Percentage Error Bars indicator to a chart:

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.

Expanded See Also

Is this topic helpful?​​​​​​​