CCSPizzaChart Class Reference
Inherits from | CCSPieChart : CCSBaseChartView : UIControl |
Declared in | CCSPizzaChart.h CCSPizzaChart.m |
Overview
CCSPizzaChart
CCSPizzaChart is inherts from CCSPieChart which can display selected part aparts
from the pie
CCSPizzaChartは丸グラフの一種です、選べたデータを丸グラフから一部分割表示は可能です。
CCSPizzaChart继承于CCSPieChart的,可以在CCSPieChart基础上将选中的部分单独抽出表示的图
Tasks
Other Methods
-
selectedIndex
Selected part of the pie which will take up from the pie
property
選べた、分割表示されているデータのインデクス
被选中的饼图的部分,这部分会从饼中切出 -
offsetLength
Offset length what is the distance from the center of the pie to the selected part
property
丸の中心から、選べた部分の距離
圆心与被分割出来的那部分的距离 -
– selectPartByIndex:
change the selected part’s index
選べた部分のインデクスを変更する
变更选中的部分的index
Other Methods
-
– initProperty
@abstract
Initialize This Object’s Properties
オブジェクトのプロパティを初期化
初始化当前对象的属性 -
– drawData:
Draw a pie chart
丸チャードを書く
使用数据绘制饼图
Properties
offsetLength
Offset length what is the distance from the center of the pie to the selected part
丸の中心から、選べた部分の距離
圆心与被分割出来的那部分的距离
@property (assign, nonatomic) CGFloat offsetLength
Discussion
Offset length what is the distance from the center of the pie to the selected part
丸の中心から、選べた部分の距離
圆心与被分割出来的那部分的距离
Declared In
CCSPizzaChart.h
selectedIndex
Selected part of the pie which will take up from the pie
選べた、分割表示されているデータのインデクス
被选中的饼图的部分,这部分会从饼中切出
@property (assign, nonatomic) NSUInteger selectedIndex
Discussion
Selected part of the pie which will take up from the pie
選べた、分割表示されているデータのインデクス
被选中的饼图的部分,这部分会从饼中切出
Declared In
CCSPizzaChart.h
Instance Methods
drawData:
Draw a pie chart
丸チャードを書く
使用数据绘制饼图
- (void)drawData:(CGRect)rect
Parameters
- rect
the rect of the grid
グリドのrect
图表的rect
Declared In
CCSPieChart.h