Inherits from CCSBaseChartView : UIControl
Declared in CCSPieChart.h
CCSPieChart.m

Overview

CCSPieChart

CCSPieChart is a kind of graph that display all in a pie-like graph, each of
the data will get a part of the pie. another kind of pie chart you can refer
from CCSPizzaChart

CCSPieChartは丸グラフの一種です、分割表示をお使い場合、CCSPizzaChartを利用してください

CCSPieChart是最简单的饼图,如果您需要可以分割表示的饼图,请参照CCSPizzaChart

Tasks

Other Methods

  •   data

    Data Array for display data
    表示用データ
    表示用的数据

    property
  •   radiusColor

    Color for the division lines inside the chart
    丸の分割線の色
    饼图的分割线的颜色

    property
  •   circleBorderColor

    Color for the border of the pie circle
    丸のボーダーの色
    饼图的弧线颜色

    property
  •   radius

    Radius of the pie circle
    丸の半径
    饼图的半径

    property
  •   displayRadius

    Display the division lines?
    丸の分割線を表示するか?
    显示分割线?

    property
  •   displayValueTitle

    Display the title for each apart of pie
    丸の各部分のタイトルを表示するか
    显示分割部分的标题?

    property
  •   position

    The position for display the graph
    丸の中心点の位置
    饼图的中心位置

    property
  • – drawData:

    Draw a pie chart
    丸チャードを書く
    使用数据绘制饼图

Other Methods

  • – initProperty

    @abstract
    Initialize This Object’s Properties
    オブジェクトのプロパティを初期化
    初始化当前对象的属性

Properties

circleBorderColor

Color for the border of the pie circle
丸のボーダーの色
饼图的弧线颜色

@property (retain, nonatomic) UIColor *circleBorderColor

Discussion

Color for the border of the pie circle
丸のボーダーの色
饼图的弧线颜色

Declared In

CCSPieChart.h

data

Data Array for display data
表示用データ
表示用的数据

@property (retain, nonatomic) NSArray *data

Discussion

Data Array for display data
表示用データ
表示用的数据

Declared In

CCSPieChart.h

displayRadius

Display the division lines?
丸の分割線を表示するか?
显示分割线?

@property (assign, nonatomic) BOOL displayRadius

Discussion

Display the division lines?
丸の分割線を表示するか?
显示分割线?

Declared In

CCSPieChart.h

displayValueTitle

Display the title for each apart of pie
丸の各部分のタイトルを表示するか
显示分割部分的标题?

@property (assign, nonatomic) BOOL displayValueTitle

Discussion

Display the title for each apart of pie
丸の各部分のタイトルを表示するか
显示分割部分的标题?

Declared In

CCSPieChart.h

position

The position for display the graph
丸の中心点の位置
饼图的中心位置

@property (assign, nonatomic) CGPoint position

Discussion

The position for display the graph
丸の中心点の位置
饼图的中心位置

Declared In

CCSPieChart.h

radius

Radius of the pie circle
丸の半径
饼图的半径

@property (assign, nonatomic) NSUInteger radius

Discussion

Radius of the pie circle
丸の半径
饼图的半径

Declared In

CCSPieChart.h

radiusColor

Color for the division lines inside the chart
丸の分割線の色
饼图的分割线的颜色

@property (retain, nonatomic) UIColor *radiusColor

Discussion

Color for the division lines inside the chart
丸の分割線の色
饼图的分割线的颜色

Declared In

CCSPieChart.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

initProperty

@abstract
Initialize This Object’s Properties
オブジェクトのプロパティを初期化
初始化当前对象的属性

- (void)initProperty

Discussion

@abstract
Initialize This Object’s Properties
オブジェクトのプロパティを初期化
初始化当前对象的属性

Declared In

CCSBaseChartView.h