Axes Logarithmic Problem
Posted: Fri Sep 19, 2008 8:05 am
Greetings.
In TChart2, I got the left-axis labels: 1.00e-005, 1.00e-006, 0.00e000, 0.00e000, 0.00e000, 0.00e000, 0.00e000.
But what I expected should be 1.00e-005, 1.00e-006, 1.00e-007, 1.00e-008, 1.00e-009, 1.00e-010 ...
Any ideas about such cases? Thanks in advance!
Code: Select all
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim line As New Steema.TeeChart.Styles.Line(TChart1.Chart)
line.Add(0, 0.00001)
line.Add(1, 0.00000000001)
TChart1.Axes.Left.Labels.ValueFormat = "0.00e000"
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim line As New Steema.TeeChart.Styles.Line(TChart2.Chart)
line.Add(0, 0.00001)
line.Add(1, 0.00000000001)
TChart2.Axes.Left.Labels.ValueFormat = "0.00e000"
TChart2.Axes.Left.Logarithmic = True
End Sub
But what I expected should be 1.00e-005, 1.00e-006, 1.00e-007, 1.00e-008, 1.00e-009, 1.00e-010 ...
Any ideas about such cases? Thanks in advance!