//
|
// JHPieChart.h
|
// JHCALayer
|
//
|
// Created by cjatech-简豪 on 16/5/3.
|
// Copyright © 2016年 JH. All rights reserved.
|
//
|
|
#import <UIKit/UIKit.h>
|
#import "JHChart.h"
|
@interface JHPieChart : JHChart
|
|
/**
|
* Need to draw the specific values。Elements can be either NSString or NSNumber type
|
*/
|
@property (nonatomic, strong) NSArray * valueArr;
|
|
|
/**
|
* Description of each segment of a pie graph
|
*/
|
@property (nonatomic, strong) NSArray * descArr;
|
|
|
/**
|
* An array of colors for each section of the pie
|
*/
|
@property (nonatomic, strong) NSArray * colorArr;
|
|
|
/**
|
* The length of the outward shift when the pie chart hits
|
*/
|
@property (assign , nonatomic) CGFloat positionChangeLengthWhenClick;
|
|
|
|
|
@end
|