Adding the .infoBox(chartData: data) view modifier to a PieChart gives the following error: Instance method 'infoBox(chartData:height:)' requires that 'PieChartData' conform to 'CTLineBarChartDataProtocol'.
How do I get the infoBox to show when I touch a piece of the pie?
Adding the .infoBox(chartData: data) view modifier to a PieChart gives the following error: Instance method 'infoBox(chartData:height:)' requires that 'PieChartData' conform to 'CTLineBarChartDataProtocol'.
How do I get the infoBox to show when I touch a piece of the pie?