feat: Make default colors more viewable (#36)

This commit is contained in:
Florian Bouillon 2023-01-15 13:49:24 +01:00 committed by GitHub
parent edd78e87e1
commit 30454becad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -38,7 +38,7 @@ class XAxis(
override val textPaint = Paint().apply { override val textPaint = Paint().apply {
isAntiAlias = true isAntiAlias = true
color = Color.parseColor("#FC496D") color = Color.BLACK
textSize = 30f textSize = 30f
textAlign = Paint.Align.LEFT textAlign = Paint.Align.LEFT
} }

View File

@ -20,14 +20,14 @@ class YAxis(
override val textLabel = Paint().apply { override val textLabel = Paint().apply {
isAntiAlias = true isAntiAlias = true
color = Color.parseColor("#FC496D") color = Color.BLACK
textSize = 30f textSize = 30f
textAlign = Paint.Align.LEFT textAlign = Paint.Align.LEFT
} }
override val linePaint = Paint().apply { override val linePaint = Paint().apply {
isAntiAlias = true isAntiAlias = true
color = Color.BLUE color = Color.BLACK
} }
override val goalLinePaint = Paint().apply { override val goalLinePaint = Paint().apply {

View File

@ -22,12 +22,12 @@ class BarSerie(
val barPaint = Paint().apply { val barPaint = Paint().apply {
isAntiAlias = true isAntiAlias = true
color = Color.parseColor("#123456") color = Color.parseColor("#64B5F6")
} }
val textPaint = Paint().apply { val textPaint = Paint().apply {
isAntiAlias = true isAntiAlias = true
color = Color.parseColor("#FC496D") color = Color.WHITE
textSize = 30f textSize = 30f
textAlign = Paint.Align.CENTER textAlign = Paint.Align.CENTER
} }

View File

@ -20,13 +20,13 @@ class LineSerie(
val linePaint = Paint().apply { val linePaint = Paint().apply {
isAntiAlias = true isAntiAlias = true
color = Color.parseColor("#123456") color = Color.parseColor("#64B5F6")
strokeWidth = 5f strokeWidth = 5f
} }
val textPaint = Paint().apply { val textPaint = Paint().apply {
isAntiAlias = true isAntiAlias = true
color = Color.parseColor("#FC496D") color = Color.BLACK
textSize = 30f textSize = 30f
textAlign = Paint.Align.CENTER textAlign = Paint.Align.CENTER
} }