mirror of
https://github.com/dzeiocom/charts.git
synced 2025-04-23 02:52:10 +00:00
feat: Make default colors more viewable (#36)
This commit is contained in:
parent
edd78e87e1
commit
30454becad
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user