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

A SwiftUI View that emits confetti with user-defined shapes, images, and text.

SwiftUI Colour Wheel

A colour wheel made all in SwiftUI. There are 2 different colour wheels to choose from. The first main one ...

ColorPickerRing

A color picker implementation with color wheel appearance written in plain SwiftUI. It is compatible with UIColor and NSColor.

ASCollectionView

This repository is no longer maintained. Here's why: with the release of iOS 16 SwiftUI now enables most of the ...