Back to Devexpress

FixedValueErrorBars Class

wpf-devexpress-dot-xpf-dot-charts-d4274c0a.md

latest3.1 KB
Original Source

FixedValueErrorBars Class

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

Namespace : DevExpress.Xpf.Charts

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public class FixedValueErrorBars :
    ErrorBars
vb
Public Class FixedValueErrorBars
    Inherits 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.

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

Implements

ILegendVisible

Inheritance

Show 12 items

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ChartElementBase ChartElement Indicator ErrorBars FixedValueErrorBars

See Also

FixedValueErrorBars Members

Error Bars

DevExpress.Xpf.Charts Namespace