patrykandpatrick / vico

A light and extensible chart library for Android.
https://patrykandpatrick.com/vico/wiki
Apache License 2.0
2.07k stars 125 forks source link

Bug with the label text color #834

Closed ihajat closed 1 month ago

ihajat commented 1 month ago

How to reproduce

the label text color seems to be overwritten with line color

Observed behavior

same as line color

Expected behavior

should be different color, cause I changed it to a different color

Vico version(s)

2.0.0-alpha.27

Android version(s)

14

Additional information

No response

ihajat commented 1 month ago

ver 1.15.0

Gowsky commented 1 month ago

Hi @ihajat, the DefaultLabelFormatter applies color to labels using SpannableString. You can turn it off via colorCode constructor parameter. See the API reference. Please share your code if you need help with this.