Analysis updated 2026-06-20
Add line charts, bar charts, or pie charts to an iOS app when Apple's built-in chart options are too limited or not available on older OS versions.
Share charting logic and concepts between an iOS and Android app by pairing DGCharts with MPAndroidChart.
Display real-time data as a live-updating chart inside a tvOS or macOS app.
| chartsorg/charts | jordanbaird/ice | rxhanson/rectangle | |
|---|---|---|---|
| Stars | 28,002 | 27,790 | 29,001 |
| Language | Swift | Swift | Swift |
| Setup difficulty | moderate | easy | easy |
| Complexity | 2/5 | 1/5 | 1/5 |
| Audience | developer | general | general |
Figures from each repo's GitHub metadata at analysis time.
Add via Swift Package Manager or CocoaPods, note the v5+ rename to DGCharts requires updating imports from Charts to DGCharts.
Charts is a library for drawing charts and graphs inside apps that run on Apple's platforms, iOS, tvOS, and macOS. The description calls it the Apple-side counterpart of MPAndroidChart, a popular Android charting library by Philipp Jahoda, and the README states it is kept in sync with that Android project. The selling point is that if your team builds the same product for both Android and iOS, the API and concepts stay very similar across platforms, so you don't have to learn a different charting library on each side. The library is written in Swift so the compiler can optimize it, and it is usable from both Swift and Objective-C projects, the bundled demo is written in Objective-C to show that. The README notes that starting with version 5.0 the library was renamed to DGCharts to avoid clashing with Apple's own Swift Charts, and that this is a breaking change with migration notes. You consume it as an embedded framework: drag the Xcode project into yours, add the framework to your target, and import DGCharts. There is optional integration with Realm through a separate ChartsRealm package. Installation is supported via CocoaPods (pod 'DGCharts'), Carthage with prebuilt binaries, and Swift Package Manager. You would reach for this when you want richer charts than the system gives you for free, when you need to support older OS versions where Apple's native chart framework is unavailable, or when you want consistent charting code shared with an Android codebase using MPAndroidChart. The README links out to third-party video tutorials, blog posts, and Xamarin bindings for both iOS and Android.
DGCharts is a Swift library for drawing rich charts and graphs in iOS, tvOS, and macOS apps, the Apple-platform sibling of the popular MPAndroidChart Android library.
Mainly Swift. The stack also includes Swift, Objective-C, iOS.
Apache 2.0 license, use freely for any purpose including commercial apps, just keep the copyright notice.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.