Swiftpack.co -  dawigr/BarChart as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
SwiftUI Bar Chart
.package(url: "https://github.com/dawigr/BarChart.git", from: "1.3.2")

SwiftUI BarChart

Lightweight and easy to use SwiftUI chart library for all Apple platforms


  • Scaling on both axes
  • Fully customizable axes (labels font, color, dashed lines)
  • Custom gradient bars
  • Reactive chart configuration
  • Bar selection API
  • [WIP] horizontal scrolling


  • iOS 13+ / macOS 10.15+ / watchOS 6+ / tvOS 13+
  • Xcode 11.0+
  • Swift 5+


Swift Package Manager

Add this swift package to your project



See Wiki for usage details


If you like the library, you could:

  • Contribute code, issues and pull requests
  • Let other people know about it
  • paypal any amount to accelaerate new feature development


BarChart is released under the MIT license. See LICENSE for details


Stars: 116
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Added more controls over axes ticks style
3 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API