klaus Expert Licensed User Longtime User Oct 1, 2013 #1 In the attached project fron the User's Guide the program stops at this line: B4X: cvsGraph.DrawText(CurveName(i) & " " & CurveUnit(i), x0, y0, Typeface.DEFAULT, CurveTextSize, CurveLineColor(i), CurveGravity(i)) The problem is the CurveGravity(i) variable declared as a String. With this line it works. B4X: cvsGraph.DrawText(CurveName(i) & " " & CurveUnit(i), x0, y0, Typeface.DEFAULT, CurveTextSize, CurveLineColor(i), "LEFT") Project attached. Best regards. Attachments Graph1.zip 8 KB · Views: 293
In the attached project fron the User's Guide the program stops at this line: B4X: cvsGraph.DrawText(CurveName(i) & " " & CurveUnit(i), x0, y0, Typeface.DEFAULT, CurveTextSize, CurveLineColor(i), CurveGravity(i)) The problem is the CurveGravity(i) variable declared as a String. With this line it works. B4X: cvsGraph.DrawText(CurveName(i) & " " & CurveUnit(i), x0, y0, Typeface.DEFAULT, CurveTextSize, CurveLineColor(i), "LEFT") Project attached. Best regards.