Please teach me how to coding same code in C#.NET
Posted: Sat Sep 11, 2004 9:37 am
1)Please teach me how to coding same code in C#.NET
<Exaple in VB>
Public CustAxis(0 To 1) As Integer
Private Sub Form_Load()
MakeAnaSeries
MakeCustomAxis
end sub
Private Sub MakeAnaSeries()
Dim i As Integer
For i = 0 To1
TChart1.AddSeries (scLine)
With TChart1.Series(i)
.HorizontalAxis = aBottomAxis
.XValues.DateTime = True
.asLine.LinePen.Width = 1
.Marks.Clip = True
End With
Next i
End Sub
Private Sub MakeCustomAxis()
Dim i As Integer
For i = 0 To 1
CustomAxis(i) = TChart1.Axis.AddCustom(False)
With TChart1.Axis.Custom(CustAxis(i))
if i=0 then
.Otherside = False
Else
.Otherside = True
End If
.PositionPercent = 0
.Title.Angle = 90
End With
TChart1.Series(i).VerticalAxisCustom = CustAxis(i)
Next i
End sub
2) The VCL 7 for Delphi8 install bugs has been fixed already ?
<Exaple in VB>
Public CustAxis(0 To 1) As Integer
Private Sub Form_Load()
MakeAnaSeries
MakeCustomAxis
end sub
Private Sub MakeAnaSeries()
Dim i As Integer
For i = 0 To1
TChart1.AddSeries (scLine)
With TChart1.Series(i)
.HorizontalAxis = aBottomAxis
.XValues.DateTime = True
.asLine.LinePen.Width = 1
.Marks.Clip = True
End With
Next i
End Sub
Private Sub MakeCustomAxis()
Dim i As Integer
For i = 0 To 1
CustomAxis(i) = TChart1.Axis.AddCustom(False)
With TChart1.Axis.Custom(CustAxis(i))
if i=0 then
.Otherside = False
Else
.Otherside = True
End If
.PositionPercent = 0
.Title.Angle = 90
End With
TChart1.Series(i).VerticalAxisCustom = CustAxis(i)
Next i
End sub
2) The VCL 7 for Delphi8 install bugs has been fixed already ?