SwiftUI BarChart – BarGraph
  • July 7, 2025

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

Features


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

Requirements


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

Installation


Swift Package Manager

Add this swift package to your project

https://github.com/dawigr/BarChart.git

Usage


See Wiki for usage details

GitHub


View Github

#chart #graph
YOU MIGHT ALSO LIKE...
Popup View

Floaters Toasts Popups Sheets

Drops đź’§

A µFramework for showing alerts like the one used when copying from pasteboard or connecting Apple pencil.

MarqueeText

A SwiftUI Marquee or "scrolling text" effect found in Apple native apps. For when one line isn't enough, but two ...

TextBuilder

Introduction Text composition in SwiftUI can often be cumbersome, especially when there's logic affecting its format and content. TextBuilder leverages the ...

TextView

Download File -> Swift Packages -> Add Package Dependency... Select your project Enter https://github.com/kenmueller/TextView for the package repository URL Select Branch: master Click Finish ...