https://github.com/jwd-ali/graphview
Draw graph using UIBezierpath with CAShapeLayer , CAGradientLayer and CALayer. Move fingers on graph using gesture. I am using LongPressGesture in this respostry with custom implemented popUpView
https://github.com/jwd-ali/graphview
cagradientlayer calayer cashapelayer draw graphs graphview longpressdrag uibezierpath
Last synced: 4 days ago
JSON representation
Draw graph using UIBezierpath with CAShapeLayer , CAGradientLayer and CALayer. Move fingers on graph using gesture. I am using LongPressGesture in this respostry with custom implemented popUpView
- Host: GitHub
- URL: https://github.com/jwd-ali/graphview
- Owner: jwd-ali
- License: mit
- Created: 2020-09-01T14:56:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-20T18:02:05.000Z (about 4 years ago)
- Last Synced: 2025-06-08T10:03:02.689Z (4 months ago)
- Topics: cagradientlayer, calayer, cashapelayer, draw, graphs, graphview, longpressdrag, uibezierpath
- Language: Swift
- Homepage:
- Size: 3.38 MB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
![]()
GraphView
Add Beautiful Graph View in your Project
___
Here is my implementation of GraphView using coreGraphics.I used CALayer , CAShapeLayer and CAGradient layer for this drawing. CAGradientLayer to show Clipped gradient under the graph. UIBezierPath to draw Points and animate them when jumping from one point to another. I also created custom PopupView with intelligent tooltip movement which is also using UIBezierPath to draw that tip. Used UILongPressGestureRecognizer to get finger movement on graph. Well my navigationbar is also drawn using CAShapeLayer & UIBezierPath =)