ChartViewV2Demo
ChartViewV2Demo copied to clipboard
BarChart example does not work on macOS 11
CardView {
ChartLabel("Title", type: .title)
BarChart()
}
.data(chartData)
.style(ChartStyle(backgroundColor: .red, foregroundColor: .whiteBlack))
Error: Value of type 'some View'has no member 'style'