Swiftpack.co -  Package - Weeronline/graph-view-ios
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Weeronline/graph-view-ios
A framework to graph data in IOS. Graph View is used on the Weeronline's iOS app. Under development
.package(url: "https://github.com/Weeronline/graph-view-ios.git", from: "0.1.0")

Graph View - Under development

Graph View CI codebeat badge

A framework to graph data in IOS. Graph View is used on the Weeronline's iOS app

Install

Swift Package Manager

Adding it to an existent iOS Project via Swift Package Manager

Maintainers

Eduardo Irias, creator.

Contributing

  1. Fork it ( https://github.com/Weeronline/graph-view-ios/fork )
  2. Create your feature branch (git checkout -b feature/[my-new-feature])
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature/[my-new-feature])
  5. Create a new Pull Request

License

GraphView is available under the MIT license. See the LICENSE file for more info.

GitHub

link
Stars: 4
Last commit: 1 week ago

Release Notes

Initial Prerelease
6 weeks ago

Initial pre-release

Includes

GraphView

weak var dataSource: GraphViewDataSource?
weak var delegate: GraphViewDelegate?

open private(set) var numberOfItems: Int

func reloadData()
func item(atIndex index: Int) -> CGFloat

GraphViewDataSource

func numberOfItems(in graphView: GraphView) -> Int
func graphView(_ graphView: GraphView, pointForItemAt index: Int) -> CGFloat
func graphColor(in graphView: GraphView) -> UIColor
optional func graphBorderColor(in graphView: GraphView) -> UIColor

optional func graphView(_ graphView: GraphView, colorForVerticalLineAt index: Int) -> UIColor?
optional func graphView(_ graphView: GraphView, colorForVerticalBarBackgroundAt index: Int) -> UIColor?
    
optional func numberOfHorizontalLines(in graphView: GraphView) -> Int
optional func graphView(_ graphView: GraphView, valueForHorizontalBarAt index: Int) -> CGFloat
optional func graphView(_ graphView: GraphView, colorForHorizontalBarAt index: Int) -> UIColor

GraphViewDelegate

optional func graphView(_ graphView: GraphView, widthForBarAt index: Int) -> CGFloat
optional func graphView(_ graphView: GraphView, didSelectBarAt index: Int)

o(^▽^)o

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco