A lightweight Swift library for generating bar, line, and pie charts from data structures like arrays and dictionaries on iOS.
Graphs is a lightweight charting library for iOS that generates bar, line, and pie charts directly from Swift data structures like arrays, ranges, and dictionaries. It solves the problem of quickly adding simple, customizable graphs to iOS apps without complex setup or external dependencies.
iOS developers using Swift who need to integrate basic charts (bar, line, pie) into their applications with minimal code and overhead.
Developers choose Graphs for its Swift-native design, simplicity, and lightweight approach, offering a straightforward alternative to heavier charting frameworks while maintaining type safety and ease of use.
Light weight charts view generater for iOS. Written in Swift.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses Swift generics and protocols for type-safe chart creation directly from native data structures, as shown in the GraphData protocol example, ensuring compile-time safety and idiomatic code.
Charts can be generated with a single line of code from ranges, arrays, or dictionaries, as demonstrated in the README examples, making integration quick and straightforward.
The library has minimal dependencies and a simple API focused on core charting functionality, reducing app bloat and complexity, as emphasized in the philosophy section.
Supports both CocoaPods and Carthage with clear setup instructions in the README, allowing seamless integration into iOS projects without complex configuration.
Only supports bar, line, and pie charts, lacking common types like scatter or area charts, which restricts its use for complex data visualizations beyond basic needs.
The README explicitly states that GraphView doesn't work on Interface Builder due to generics, forcing developers to code UI entirely programmatically, which can hinder design workflows.
While customizable for simple cases via GraphRange or closures, it lacks advanced styling, animations, and interactivity features found in more comprehensive charting libraries.
Targets iOS 8.0+ and XCode 7.3+, which are old versions, suggesting it might not be actively maintained or compatible with modern Swift conventions and iOS features.