SwiftUI package for easily adding charts to your project. Latschi
is a word from the "manic" language which is spoken in my hometown. It can be translated with "good" or "love". This is also my approach for creating some charts.
This project grows side by side with my app which I am developing to learn SwiftUI. This means that new features come when they are needed in my app. If YOU need anything besides the current available features, feel free to open a Pull Request or tell me your wishes/needs and I will have a look what I can do. I am developing this in my leisure time, so don't judge me if it will take some time for an answer.
It supports:
It requires iOS 13 and Xcode 11!
In Xcode got to File -> Swift Packages -> Add Package Dependency
and paste in the repo's url: https://github.com/m8xp0w3r/LatschiSwiftUICharts
Choose branch main
for the latest features as long as this still is in some kind of beta phase.
import LatschiSwiftUICharts
LatschiChartData
and pass it to the ChartIt is mandatory to pass a Double
value. You also can pass an optional label (defaults to an empty string) or color (defaults to blue) on creation.
For a demo have a look at the LatschiBarChartView_Previews
.
Nils Leistner: [email protected]
SwiftUICharts is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 0 |
Last commit: 1 year ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics