You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using vico to display stock market data and I'm trying to play with using decorations to show the previous close and open values (instead of a hacked-together series). It looks to me like the decoration lines have a higher elevation than the Y-axis labels. I have my axis labels inside with a background color that matches the app's main background color (shown in the screenshot). This shows nicely above the line chart but it looks to me that the decoration line cuts through the Y-axis labels. Is there a way to make it so the Y-axis elevation is higher than the decoration lines so that the axis label background will cover part of the line and the text will display cleanly? Just for kicks I changed the thickness to 5.dp to see what it looked like. Screenshot of that is included.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Question
I've been using vico to display stock market data and I'm trying to play with using decorations to show the previous close and open values (instead of a hacked-together series). It looks to me like the decoration lines have a higher elevation than the Y-axis labels. I have my axis labels inside with a background color that matches the app's main background color (shown in the screenshot). This shows nicely above the line chart but it looks to me that the decoration line cuts through the Y-axis labels. Is there a way to make it so the Y-axis elevation is higher than the decoration lines so that the axis label background will cover part of the line and the text will display cleanly? Just for kicks I changed the thickness to
5.dp
to see what it looked like. Screenshot of that is included.Vico version(s)
2.0.0-beta.3
UI framework(s)
Jetpack Compose
Beta Was this translation helpful? Give feedback.
All reactions