$ account ChartsOrg
This repository is the DGCharts framework (formerly Charts), a mature, open-source charting library for Apple platforms (iOS, tvOS, macOS). It is a direct port of the popular MPAndroidChart library, providing nearly identical API for cross-platform consistency. The library offers eight primary chart types: Line, Bar, Pie, Scatter, CandleStick, Bubble, Radar, and Combined (overlaying multiple chart types). It supports rich customization including dual axes, animations, legends, highlighters, limit lines, markers, and value formatters. The codebase is structured with protocol-oriented design separating views, renderers, data models, and formatters. It includes comprehensive demo applications for iOS (Swift and Objective-C) and macOS, as well as playgrounds and snapshot-based unit tests. The library is distributed via CocoaPods, Carthage, and Swift Package Manager, and requires iOS 12+, tvOS 12+, or macOS 10.13+. While the core functionality is well-established, the codebase shows some technical debt including deprecated API methods, TODOs for Swift collection conformance, and a large number of demo controllers that duplicate boilerplate. Overall, it is a production-grade visualization library with a strong architecture and active maintenance.