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...
FigmaPreviewSwiftUI

A Figma component preview for your SwiftUI views. You can use Figma components instead of real views within your app ...

SafePreviewDevice

Motivation At WWDC 2019, Apple announced SwiftUI a new library for building UI in a simple and fast way. Xcode’s ...

PreviewView

Make use of SwiftUI previews for rapidly prototyping your UIViewControllers and UIViews! The SwiftUI preview canvas is tied to a specific version of ...

PreviewDevice

Requirements   Dev environment: Xcode 13+, macOS 12+ iOS 13.0+, macOS 10.15+, Mac Catalyst 13.0+, tvOS 13.0+, watchOS 6.0+ Usage

SwiftUIWheelPicker

Horizontal wheel picker for SwiftUI Requirements iOS 13.0+ Installation CocoaPods