SkiaText with different font size in text #1465
Unanswered
LucasReinaldo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there,
I have a chart that according to user scroll/press across I display the value on top, for example:
The user is viewing calories burned on a day, I am displaying 2,500 kcal. My goal is to have "2,500" in font size 26px and "kcal" in font size 14px.
My goal is to achieve something like:

I was thinking I could pass an array, something like: [{value: '6', unit: 'h'}, {value: '53', unit: 'm'}].
Does anyone know how to do that?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions