SwiftUI Charts Basics Tutorial

preview_player
Показать описание
SwiftUI has a native Chart component that lets you create Bar charts, Line charts, Area charts and more based on a set of data. In this video, you'll see just how easy it is to add a SwiftUI chart to your app!

Source Code:

Reference:

Timestamps:
00:00 Intro
00:24 Initial Walk Through
01:10 Import Charts framework
01:20 Add Chart Component
01:28 Add Data to the Bar Chart
04:16 Types of Charts
05:27 Customizing the Chart
09:38 Outro

#SwiftUICharts #Xcode #iOS17
Рекомендации по теме
Комментарии
Автор

I'm new to SwiftUI and this tutorial was extremely helpful for me. Thanks a ton!

sudeeprao
Автор

The more I dive into SwiftUI, the more I find myself liking it!

MobileMastersAndroidiOS
Автор

Great for you to show the progression from "why did it do that?" to a final solution. Very helpful. Thank you!

GaryLutchansky
Автор

Is it not possible to tap on a bar and see the value rather than using the annotation property to display it on the bar

thestmage
Автор

Well done Chris always making excellent videos!

tinnietv
Автор

How would you unstack the columns and place them side by side for each "Type"?

DavidShaw-dcre
Автор

9:47 you said check out our 3 hour masterclass video. I have never used xcode or anything. I'm a regular person who wants to make a pie chart that pulls stock price data and multiplies it by my holdings amount. Thumbs down given for the missing link

ctlfhfv