iOS 动画图表库:GraphKit
jopen
10年前
GraphKit 是一个轻量级的 iOS 动画图表库。
CGRect frame = CGRectMake(0, 40, 320, 200); self.graphView = [[GKLineGraph alloc] initWithFrame:frame]; self.graph.dataSource = self; self.graph.lineWidth = 3.0; [self.graph draw];