Theming: chart text is now rendered as FILL_AND_STROKE.

This commit is contained in:
Dennis Guse
2020-09-15 18:29:07 +02:00
parent 27bd69ec62
commit 91e8eb66b1
2 changed files with 3 additions and 2 deletions
@@ -91,10 +91,12 @@ abstract class ChartValueSeries {
titlePaint = new Paint(strokePaint);
titlePaint.setTextSize(ChartView.MEDIUM_TEXT_SIZE * scale);
titlePaint.setTextAlign(Align.CENTER);
titlePaint.setStyle(Style.FILL_AND_STROKE);
markerPaint = new Paint(strokePaint);
markerPaint.setTextSize(ChartView.SMALL_TEXT_SIZE * scale);
markerPaint.setTextAlign(Align.RIGHT);
markerPaint.setStyle(Style.FILL_AND_STROKE);
// Set stroke paint thickness
strokePaint.setStrokeWidth(STROKE_WIDTH);