Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gahntpo/BookstoreStategist
This is a demo app that shows book store statitistics with the SwiftCharts API available for iOS 16. You can see line, bar and pie charts examples in SwiftUI. New features for iOS 17 are chart scrolling and chart selection.
https://github.com/gahntpo/BookstoreStategist
charts swiftcharts swiftui swiftui-charts swiftui-demo swiftui-example
Last synced: about 1 month ago
JSON representation
This is a demo app that shows book store statitistics with the SwiftCharts API available for iOS 16. You can see line, bar and pie charts examples in SwiftUI. New features for iOS 17 are chart scrolling and chart selection.
- Host: GitHub
- URL: https://github.com/gahntpo/BookstoreStategist
- Owner: gahntpo
- Created: 2023-07-19T08:11:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-22T08:55:30.000Z (over 1 year ago)
- Last Synced: 2023-07-22T09:31:43.541Z (over 1 year ago)
- Topics: charts, swiftcharts, swiftui, swiftui-charts, swiftui-demo, swiftui-example
- Language: Swift
- Homepage:
- Size: 4.94 MB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-swift-charts - BookstoreStategist - SwiftCharts Demo Project
- awesome-swift-charts - BookstoreStategist - SwiftCharts Demo Project
README
# BookstoreStategist - SwiftCharts Demo Project
This is a demo app that shows book store statitistics with the SwiftCharts API available for iOS 16.
New features for iOS 17 are chart scrolling and chart selection.There are various chart examples:
- bar charts
- pie charts
- line charts
- scatter plots### Tutorials
This is the demo I created for
- Youtube tutorial [Introduction to SwiftCharts: Creating Charts and Graphs in SwiftUI](https://youtu.be/mnH7YRmuVKw)
- blog post https://www.swiftyplace.com/blog/swiftcharts-create-charts-and-graphs-in-swiftuihttps://github.com/gahntpo/BookstoreStategist/assets/53653631/33e0fbbd-7610-41a9-b187-87a865bedfe3
## SwiftCharts allows dynamic updating its values
I also added an example where I replace the existing charts data with a new randomly generated data set. You can show the changing to the charts with an animation.https://github.com/gahntpo/BookstoreStategist/assets/53653631/2c655f01-25e8-4f1d-8b9d-bd22dc154597