Post

Replies

Boosts

Views

Activity

Reply to SwiftUI Charts - MTLTextureDescriptor has width (9649) greater than the maximum allowed size of 8192
Can you show the code, and the data that you are passing to Chart()? One reason can be: if the data range is very large and the chartXScale is very small, for example, if you are passing data to Chart() for 3 years which has a chartXScale range of only one day, then you might get this error. To fix this, filter your data first and only pass data for the days around your chartXScale(), then you shouldn't get this error.
Feb ’23