Boxplot How?
Posted: Thu Apr 12, 2007 2:16 pm
Hi
I'm trying to create a boxplot using some of the code from the examples.
But it causes me some problems. For sure just because I'm plain stupid )
Here is my code that does not give any box at all. I just get an empty teechart. It's VB:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Box1 As Steema.TeeChart.Styles.Box = New Steema.TeeChart.Styles.Box
Box1.UseCustomValues = True
Box1.Median = 50
Box1.Quartile1 = 30
Box1.Quartile3 = 60
' adjacent points are related with whisker lines
Box1.AdjacentPoint1 = 10 ' // lower whisker at 37
Box1.AdjacentPoint3 = 100 '; // upper whisker at 43
' using this all added points will be extreme outliers
Box1.InnerFence1 = 1
Box1.InnerFence3 = 5
Box1.OuterFence1 = 110
Box1.OuterFence3 = 130
TChart1.Series.Add(Box1)
TChart1.Legend.Visible = True
End Sub
What am I missing?
Thanks in advance
Lars Iversen
I'm trying to create a boxplot using some of the code from the examples.
But it causes me some problems. For sure just because I'm plain stupid )
Here is my code that does not give any box at all. I just get an empty teechart. It's VB:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Box1 As Steema.TeeChart.Styles.Box = New Steema.TeeChart.Styles.Box
Box1.UseCustomValues = True
Box1.Median = 50
Box1.Quartile1 = 30
Box1.Quartile3 = 60
' adjacent points are related with whisker lines
Box1.AdjacentPoint1 = 10 ' // lower whisker at 37
Box1.AdjacentPoint3 = 100 '; // upper whisker at 43
' using this all added points will be extreme outliers
Box1.InnerFence1 = 1
Box1.InnerFence3 = 5
Box1.OuterFence1 = 110
Box1.OuterFence3 = 130
TChart1.Series.Add(Box1)
TChart1.Legend.Visible = True
End Sub
What am I missing?
Thanks in advance
Lars Iversen