In the attached project fron the User's Guide the program stops at this line:
The problem is the CurveGravity(i) variable declared as a String.
With this line it works.
Project attached.
Best regards.
B4X:
cvsGraph.DrawText(CurveName(i) & " " & CurveUnit(i), x0, y0, Typeface.DEFAULT, CurveTextSize, CurveLineColor(i), CurveGravity(i))
With this line it works.
B4X:
cvsGraph.DrawText(CurveName(i) & " " & CurveUnit(i), x0, y0, Typeface.DEFAULT, CurveTextSize, CurveLineColor(i), "LEFT")
Best regards.