Hello, I'm new here but I just made a simple graph with DrawLine. Nothing fancy but here is what I did:
........................................................................................
Sub Globals
Dim i As Int
Dim CanvasGraph As Canvas
Dim ImageGraph As ImageView
End Sub
Sub MyGraph
ImageGraph.Initialize("ImageGraph")
Activity.AddView(ImageGraph,0,0,100&x,55%y)
CanvasGraph.Initialize(ImageGraph)
CanvasGraph.DrawColor(Colors.LightGray)
For i=1 To 336 Step 16
CanvasGraph.DrawLine(i+16,20,i+16,337,Colors.Black,.99dip)
CanvasGraph.DrawLine(20,i+16,337,i+16,Colors.Black,.99dip)
Next
End Sub
..........................................................................................
It took a little trial and error to get the values to work for me...