Skip to content

Commit

Permalink
EPS text filled #2
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosKozak committed Nov 30, 2021
1 parent 5a1d1e1 commit 3758897
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ public void draw(GraphView graphView, Canvas canvas, boolean isSecondScale) {
float py = (float) (graphHeight * ratY + bounds.width() + 10);
canvas.save();
canvas.rotate(-90, px, py);
mPaint.setStyle(Paint.Style.FILL_AND_STROKE);
canvas.drawText(value.getLabel(), px, py, mPaint);
mPaint.setStyle(Paint.Style.STROKE);
canvas.drawRect(px - 3, bounds.top + py - 3, bounds.right + px + 3, bounds.bottom + py + 3, mPaint);
Expand Down

0 comments on commit 3758897

Please sign in to comment.