FKLineChart
安装
CocoaPods
将以下条目添加到您的 Podfile 中
pod 'FKLineChart'
然后运行
pod install
不要忘记在每个希望使用折线图的文件中导入 FKLineChart
import FKLineChart
用法
1- 将一个 UIView 添加到您的 storyboard 中,并将其自定义类设置为 FKLineChart
。
将以下条目添加到您的 Podfile 中
pod 'FKLineChart'
然后运行
pod install
不要忘记在每个希望使用折线图的文件中导入 FKLineChart
import FKLineChart
1- 将一个 UIView 添加到您的 storyboard 中,并将其自定义类设置为 FKLineChart
。