From 3e8437ae559487362fae3525beb79c534c213a51 Mon Sep 17 00:00:00 2001 From: 单军华 Date: Thu, 12 Jul 2018 13:44:34 +0800 Subject: [PATCH] bug修复和功能优化 --- screendisplay/screendisplay/Classes/ThirdClass/JHChart/JHPieChart.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/screendisplay/screendisplay/Classes/ThirdClass/JHChart/JHPieChart.h b/screendisplay/screendisplay/Classes/ThirdClass/JHChart/JHPieChart.h new file mode 100755 index 0000000..b512026 --- /dev/null +++ b/screendisplay/screendisplay/Classes/ThirdClass/JHChart/JHPieChart.h @@ -0,0 +1,39 @@ +// +// 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 -- Gitblit v1.8.0