Skip to main content
A newer version of this page is available. .

FixedValueErrorBars Class

The Error Bars indicator whose error values are specified by constant values.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v21.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public class FixedValueErrorBars :
    ErrorBars

Remarks

To specify positive and negative error values, use the FixedValueErrorBars.PositiveError and FixedValueErrorBars.NegativeError properties respectively.

Examples

How to: Add the Fixed Value Error Bars Indicator to a Chart

This example demonstrates how to plot Fixed Value Error Bars on the chart.

To do this, add a FixedValueErrorBars object to the series XYSeries2D.Indicators collection. Then, define negative and positive error values using the FixedValueErrorBars.NegativeError and FixedValueErrorBars.PositiveError properties.

View Example

<dxc:PointSeries2D.Indicators>
    <dxc:FixedValueErrorBars NegativeError="7"
                             PositiveError="10"
                             Direction="Both" 
                             EndStyle="Cap"
                             LegendText="Price Ranges"
                             ShowInLegend="True"/>
</dxc:PointSeries2D.Indicators>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FixedValueErrorBars class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Implements

See Also