Back to Devexpress

PercentageErrorBars Class

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

latest2.8 KB
Original Source

PercentageErrorBars Class

The Error Bars indicator whose error values are calculated as a portion of series values.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public class PercentageErrorBars :
    ErrorBars
vb
Public Class PercentageErrorBars
    Inherits ErrorBars

Remarks

This class introduces the PercentageErrorBars.Percent property specifying the percentage of error values of series point values.

Examples

How to: Add the Percentage Error Bars Indicator to a Chart

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

To do this, add a PercentageErrorBars object to the series XYSeries2D.Indicators collection. Then, define the percentage of error values using the PercentageErrorBars.Percent property.

xaml
<dxc:PointSeries2D.Indicators>
    <dxc:PercentageErrorBars Percent="10" 
                             Direction="Both" 
                             EndStyle="Cap"
                             ShowInLegend="True"
                             LegendText="Units on Custom Order"/>
</dxc:PointSeries2D.Indicators>

Implements

ILegendVisible

Inheritance

Show 12 items

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

See Also

PercentageErrorBars Members

Error Bars

DevExpress.Xpf.Charts Namespace