willdale/SwiftUICharts

Publishing changes from within view updates is not allowed

mvolkmann opened this issue · 3 comments

I get that warning from LineChartData.swift.
The @Published properties where this happens are viewData and infoView.

I tried running my app in Xcode 14 beta 3 and these warnings did not go away.

I get a total of 420 warnings (all the same issue) in my app from displaying one line chart. This makes it difficult to find the output of my print statements.