Swiftpack.co - Weeronline/graph-view-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Weeronline.
Weeronline/graph-view-ios 0.1.0
A framework to graph data in IOS. Graph View is used on the Weeronline's iOS app. Under development
⭐️ 4
🕓 3 years ago
.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: 3 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Initial Prerelease
3 years 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 | API | Analytics