Code: Select all
Imports System.Drawing
Imports Steema.TeeChart
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim errorSeries As Styles.Error
With TChart1
errorSeries = DirectCast(.Series.Add(New Styles.Error(.Chart)), Styles.Error)
End With
errorSeries.Add(1, 2, 0.2)
errorSeries.Add(2, 3, 0.3)
errorSeries.Add(3, -2, 0.5)
errorSeries.Add(4, -3, -0.5)
errorSeries.Add(5, -4, 0.25)
End Sub
End Class
For positive y values you get the expected 'H' for negative values you get an '|'
see attachement for graphical sample.
Version of TChart: 4.0.2010.13051
Visula Studio: 2005 2.0.50727 SP2