An adaptive scrollable graph view for iOS to visualize simple discrete datasets, written in Swift.
ScrollableGraphView is an open-source iOS graph view component written in Swift that visualizes simple discrete datasets. It allows developers to embed interactive, scrollable charts within their apps, featuring adaptive y-axis ranges and smooth animations. The library solves the need for a lightweight, customizable graphing solution tailored for mobile interfaces.
iOS developers building applications that require simple data visualization, such as fitness trackers, weather apps, study tools, or prototyping environments. It's suited for those who need an embeddable, scrollable graph without the overhead of complex charting libraries.
Developers choose ScrollableGraphView for its native Swift implementation, smooth scrolling performance, and extensive customization options. Unlike heavier charting libraries, it is purpose-built for discrete datasets and mobile interactions, offering a balance of simplicity and visual polish.
An adaptive scrollable graph view for iOS to visualise simple discrete datasets. 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.
Automatically adjusts the y-axis range to visible data points during scrolling, enhancing readability for discrete datasets. This is enabled via the `shouldAdaptRange` property with smooth animations.
Supports multiple plot types (line, dot, bar) with deep styling options for colors, animations, and reference lines. Examples in the README show configurable fill gradients, data point shapes, and spacing.
Offers fluid initialization and range adaptation animations with customizable easing functions like elastic or custom. The `adaptAnimationType` property allows fine-tuned control over motion effects.
Built in Swift with support for Interface Builder, CocoaPods, and Carthage. It can be configured visually in Xcode, simplifying setup for iOS developers.
Cannot reload graphs with a different number of data points, restricting updates to datasets that change in size. The README explicitly states this is unsupported.
Last major update was version 4 in 2017, risking compatibility with newer iOS versions and Swift updates. This may lead to bugs or lack of support for modern features.
Some graph properties cannot be customized after the view is added to the hierarchy, limiting flexibility for dynamic UI changes. This is noted in the known issues section.