Articles in this section
Category / Section

How to use display ErrorBars in Chart Control?

1 min read

 

Error Bars are used to find out the top and bottom error of the control. ErrorBars can be displayed by setting DrawErrorBar property to true. We can also customize the errorbar's symbol shape using ErrorBarsSymbolShape property. At present the symbol can be drawn only to line chart. The symbol represents the top and bottom error of the control. We can have seperate symbol to represent different series.

C#

// Enabling ErrorBars

this.chartControl1.Series[0].DrawErrorBars = true;

// Setting the shape of error bars

this.chartControl1.Series[0].ErrorBarsSymbolShape = ChartSymbolShape.Circle;

VB

' Enabling ErrorBars

Me.ChartControl1.Series[0].DrawErrorBars = true

' Setting the shape of error bars

Me.ChartControl1.Series[0].ErrorBarsSymbolShape = ChartSymbolShape.Circle

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied