I came up with a simple solution consisting in just setting the Y (or X) axes scale manually in this way (added chartXScale also, as sometimes I have experienced the same issue also with X axis domain):
Chart {
// Chart implementation
}
.chartYScale(domain: 0...50)
.chartXScale(domain: 0...25)
In this way you can prevent the jump to happen.
Post
Replies
Boosts
Views
Activity
I have the very same problem with the annotation using chartOverlay. Did you come up with a solution? I have been thinking about it for 2 days and I concluded nothing…