ChartViewV2Demo icon indicating copy to clipboard operation
ChartViewV2Demo copied to clipboard

Cannot find 'RingsChart' in scope

Open tciuro opened this issue 4 years ago • 11 comments

I just downloaded the demo project and it fails to compile due to:

ChartViewV2Demo-master/ChartViewV2Demo/ContentView.swift:116:6: Cannot find 'RingsChart' in scope

tciuro avatar Nov 24 '20 04:11 tciuro

Same issue here. I downloaded the demo project, and on lines 116 and 123 it tries to create RingsChart instances but can't find it. It's still buildable if you comment out that entire example, but clearly something is missing 😅

narbodon avatar Jan 05 '21 21:01 narbodon

same issure ,can't find 'RingsChart'

iakira avatar Jan 07 '21 10:01 iakira

Still have the same issue: Use of unresolved identifier 'RingsChart'

https://github.com/AppPear/ChartViewV2Demo/blob/8bb8db47497c7d2d404ac6ba0f27e4754b72245f/ChartViewV2Demo/ContentView.swift#L116

mikhailokarpenko avatar Feb 03 '21 16:02 mikhailokarpenko

Confirming same issue still exists, downloaded example to test & can't compile due to "Cannot find 'RingsChart' in scope."

setzeus avatar Apr 06 '21 15:04 setzeus

+1

svoip avatar Apr 28 '21 08:04 svoip

+1

EugeneGordin2303 avatar May 26 '21 21:05 EugeneGordin2303

+1

antontyshko avatar Jun 26 '21 10:06 antontyshko

Remove the whole RingsChart part can make project run successfully, but have no idea why RingsChart there either.

metrue avatar Jun 29 '21 07:06 metrue

It's July 29, year 2021... still can confirm RingsChart() can't be found in scope.

kzemin avatar Jul 29 '21 20:07 kzemin

It's available in beta2

LunaticMuch avatar Jan 18 '22 10:01 LunaticMuch

As @LunaticMuch already mentioned, upgrading SwiftUICharts (2.0.0-beta.1 -> 2.0.0-beta.2) should fix this problem.

bgeisb avatar Mar 04 '22 10:03 bgeisb