Latest 0.0.2
Homepage https://github.com/RiversMaJianCheng/JCDrawSpiderChart
License MIT
Platforms ios 9.0, requires ARC
Frameworks UIKit
Authors

JCDrawSpiderChart是一个简单的动态网状图,不复杂可能计算麻烦点。

项目展示的效果如下:

下载项目后运行JCDrawSpiderDemo.xcodeproj
JCDrawSpiderChart

安装

CocoaPods

  1. 在Podfile文件中添加 pod ‘JCDrawSpiderChart’ , ‘~> 0.0.2’
  2. 命令行执行 pod install 或 pod update
  3. 导入 #import

手动安装

  1. 下载项目后找到JCDrawSpiderChart文件夹
  2. 将JCDrawSpiderChart文件夹加入或拖进你的工程项目
  3. 导入#import "NBChartCycleLevel.h"

引入代码如下

#import "ViewController.h"

@interface ViewController ()
@property (nonatomic, strong) NBChartCycleLevel *cycleLevelChart;
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view addSubview:self.cycleLevelChart];
}

- (NBChartCycleLevel *)cycleLevelChart {

    if (!_cycleLevelChart) {
        //根据frame创建雷达图表
        _cycleLevelChart = [[NBChartCycleLevel alloc] initWithFrame:CGRectMake(0, 60, self.view.frame.size.width, self.view.frame.size.width)];
    }
    return _cycleLevelChart;
}

许可证

JCDrawSpiderChart 使用MIT许可证,详情见LICENSE文件

Latest podspec

{
    "name": "JCDrawSpiderChart",
    "version": "0.0.2",
    "summary": "u52a8u6001u8718u86dbu7f51u72b6u56fe",
    "description": "u6839u636eu4f20u5165u7684u53c2u6570uff0cu52a8u6001u7ed8u5236u8718u86dbu7f51u72b6u56fe",
    "homepage": "https://github.com/RiversMaJianCheng/JCDrawSpiderChart",
    "license": "MIT",
    "authors": {
        "majiancheng": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/RiversMaJianCheng/JCDrawSpiderChart.git",
        "tag": "0.0.2"
    },
    "source_files": [
        "JCDrawSpiderChart",
        "JCDrawSpiderChart/**/*.{h,m}"
    ],
    "requires_arc": true,
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This