Skip to content

Dan-YY/DYChart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DYChart for Swift

Easy setup chart class

Including circle dashboard and 2DChart

Both with animation and variety of config to customize.

alt text

Circle/Semi Chircle dashboard sample:

let dashCircle = DYDashboardCircle()
dashCircle.value(to: 0.9, animated: true)
dashCircle.layoutSubviews()
view.addSubview(dashCircle)

other config:

var circleColors: [UIColor] 

Any systemColor or define your RGB colors, any number of them. It will be mixed as gradient by default

var circleLineWidth: CGFloat 

var colorType: ColorType 

.gradient, .block

var startPosition: KeyPosition 

(.left , .right, .top, .bottom) set it as zero/starting point

var circleType: CircleType  

.circle, .semiCircle

2DChart: (still under development, some function may not work as expected)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages