Commits

alorma committed 83e44e0

Colors in points

Comments (0)

Files changed (1)

HoloGraphLibrary/src/com/echo/holographlibrary/LineGraph.java

 						float xPixels = sidePadding + (xPercent*usableWidth);
 						float yPixels = getHeight() - bottomPadding - (usableHeight*yPercent);
 						
-						paint.setColor(Color.GRAY);
+						paint.setColor(Color.parseColor(p.getColor()));
 						canvas.drawCircle(xPixels, yPixels, 10, paint);
 						paint.setColor(Color.WHITE);
 						canvas.drawCircle(xPixels, yPixels, 5, paint);