Skip to main content

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

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

To do this, add a StandardErrorBars object to the series XYSeries2D.Indicators collection.

<dxc:PointSeries2D  x:Name="pointSeries" DisplayName="Daytime Temperatures in July">
    <dxc:PointSeries2D.Indicators>
        <dxc:StandardErrorBars Direction="Both" 
                               EndStyle="Cap"
                               ShowInLegend="True"
                               LegendText="Standard Error"/>
    </dxc:PointSeries2D.Indicators>
</dxc:PointSeries2D>