A powerful charting library for iOS, tvOS, and macOS, offering 8 chart types with extensive customization and smooth animations.
Charts (DGCharts) is a native charting library for iOS, tvOS, and macOS built in Swift. It provides developers with a robust set of tools to create interactive, customizable charts such as line, bar, pie, and scatter plots. The library solves the problem of lacking high-quality charting solutions for Apple platforms by offering a feature-rich alternative that mirrors the popular MPAndroidChart API.
iOS, tvOS, and macOS developers who need to integrate data visualization into their applications, particularly those working on cross-platform projects where consistency with Android charting is important.
Developers choose Charts for its extensive chart types, smooth animations, and deep customization options. Its key advantage is the shared API with MPAndroidChart, which significantly reduces development time and learning overhead for teams building on both iOS and Android.
Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Maintains a 95% identical API to MPAndroidChart, allowing developers to use similar code on both iOS and Android, reducing learning overhead as highlighted in the README.
Supports eight core chart types including line, bar, pie, and candlestick, covering most data visualization needs with interactive features like pinch-to-zoom and dragging.
Offers dual axes, extensive styling for labels and grids, animations, and customizable popup views, enabling tailored chart appearances and behaviors.
Provides optional bindings for direct plotting from Realm.io databases, simplifying data visualization workflows for Realm users, though it requires additional dependency management.
Version 5.0 introduced breaking changes and renamed the library to DGCharts to avoid conflicts with Apple's Swift Charts, requiring migration efforts and potential confusion.
The README admits no separate documentation for iOS, relying on MPAndroidChart's wiki, which can be inconvenient for developers unfamiliar with Android or seeking iOS-specific guidance.
Integration requires multiple steps like embedding frameworks and handling Swift/ObjC bridging, with notes on Carthage and CocoaPods complexities, leading to potential compilation issues.