Horizontal maxumum line not drawn
Posted: Tue Apr 19, 2005 10:47 am
Hello
I found the following problem: If the highest value in a series is horizontal line (not a single point), then this line will not be drawn. You can reproduce it by adding a TChart to a form and put the following code into Form_Load
So the line between Point 2 and 3 cannot be seen.
Is this a bug or have I forgotten to set the correct property?
(I know, I can work around this, when I set Automatic = False and increase the Axis.Maximum a little bit, but that´s not how it should be).
Greetings
Elric
I found the following problem: If the highest value in a series is horizontal line (not a single point), then this line will not be drawn. You can reproduce it by adding a TChart to a form and put the following code into Form_Load
Code: Select all
Me.TChart1.Walls.Visible = False
Me.TChart1.Aspect.View3D = False
Dim s1 As New Steema.TeeChart.Styles.Line(TChart1.Chart)
s1.Add(1, 0)
s1.Add(2, 100)
s1.Add(3, 100)
s1.Add(4, 0)
Is this a bug or have I forgotten to set the correct property?
(I know, I can work around this, when I set Automatic = False and increase the Axis.Maximum a little bit, but that´s not how it should be).
Greetings
Elric