Results 1 to 2 of 2

Thread: Startin off wit Graph

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2004
    Location
    Singapore
    Posts
    79

    Startin off wit Graph

    Any 1 knows how to show data in a graph where can i find gd information to start off? Thanks

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Jan 2004
    Location
    Singapore
    Posts
    79

    Half of a graph ?????

    The following is e codes i use but e graph comes out witout e x- axis y is tis so can some1 pt it out to mi?
    Thanks


    Dim nBar As Integer
    Dim Column As Integer
    Dim row As Integer
    picBox.Scale (-2, 13)-(14, -2)
    CurrentY = 11
    picBox.Line (0, 11)-(0, 0)
    picBox.Line (0, 0)-(13, 0)

    For row = 0 To 12
    Column = (110 / ((row + 1) * 10))

    picBox.Line (0.5, Column)-(-0.5, Column)
    picBox.CurrentX = -1
    picBox.CurrentY = Column + 0.5
    picBox.Print Column

    nBar = (row Mod 3)
    nPos = Int(row / 3)
    If nBar = 2 Then
    'Select Case nPos
    'Case 0:
    picBox.FillStyle = nPos + 1
    picBox.Line (row, 0)-(row + 1, 10.5), , B
    picBox.CurrentX = picBox.CurrentX - 1
    picBox.CurrentY = picBox.CurrentY + 1
    picBox.Print "HI"
    End If
    Next row
    picBox.CurrentX = 3
    picBox.CurrentY = 0
    picBox.FontSize = 13
    picBox.Print "Ah Liang - 2004"
    End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width