代码库> 绘图> BTSpiderPlotterView 自定义蜘蛛网图
BTSpiderPlotterView 自定义蜘蛛网图
关注
上传者:颜小风 分类:绘图(Drawing)
查看次数:3499 下载次数:275
上传时间:2013-12-06 大小:32 B
绘制数据统计当中的蜘蛛网图
使用方法很简单


NSDictionary *valueDictionary = @{@"Design": @"4",
                                      @"Display Life": @"6",
                                      @"Camera" : @"3",
                                      @"Reception": @"4",
                                      @"Performance" : @"5",
                                      @"Software": @"4",
                                      @"Battery Life" : @"6",
                                      @"Hello world" : @"4",
                                      @"Ecosystem": @"5"};
    
    BTSpiderPlotterView *spiderView = [[BTSpiderPlotterView alloc] initWithFrame:self.view.frame valueDictionary:valueDictionary];
    //spiderView.plotColor = [UIColor colorWithRed:.8 green:.4 blue:.3 alpha:.7];
    [self.view addSubview:spiderView];




收藏
我来说两句
发表评论
您还没有登录!请登录注册
所有评论(0
提示
sina weixin mail 回到顶部