Scrolling do not preserve paddings #1049
Unanswered
tcapelli-tg
asked this question in
Questions
Replies: 2 comments 2 replies
-
Hello, @tcapelli-tg. Yes, this is expected. The padding is applied to the content itself. This is standard behavior for scrollable charts. Could you provide more details on your use case? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Screen.Recording.2025-03-19.at.17.18.04.movIn my use case I'd like to keep the initial start padding even during the scrolling. The main reason is that in my situation labels are internal and when scrolling the line goes under them. To mitigate this behavior I added fadingEdges and the overall result is not bad but not optimal. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
First of all, I'd like to thank the whole team behind this amazing library. My situation is the following: I setup a line chart with some padding from start-axis and end. The result is amazing, but when I scroll the padding is no more respected and the line "touch" the start axis (a behavior that I do not want). I also don't think that I can provide may own implementation of the scroll behavior. So, am I missing something? Is this the expected default behavior?
Module(s)
compose-m3
Platform(s)
Android
Platform version(s)
No response
Vico version(s)
2.0.1
Beta Was this translation helpful? Give feedback.
All reactions