Inherits from CCSGridChart : CCSBaseChartView : UIControl
Declared in CCSStickChart.h
CCSStickChart.m

Overview

CCSStickChart

CCSStickChart is a kind of graph that draw the sticks on a CCSGridChart
if you want display some moving average lines on this graph, please use see
CCSMAStickChart for more information

CCSStickChartはCCSGridChartの表面でスティックを書いたラインチャードです。移動平均線など
分析線がお使いしたい場合、CCSMAStickChartにご参照ください。

CCSStickChart是在CCSGridChart上绘制柱状数据的图表、如果需要支持显示均线,请参照
CCSMAStickChart。

Tasks

Other Methods

  •   stickData

    Data for display stick
    スティックを表示用データ
    表示柱条用的数据

    property
  •   stickBorderColor

    Color for display stick boder
    表示スティックのボーダーの色
    表示柱条的边框颜色

    property
  •   stickFillColor

    Color for display stick
    表示スティックの色
    表示柱条的填充颜色

    property
  •   latitudeNum

    Numbers of grid‘s latitude line
    緯線の数量
    网格纬线的数量

    property
  •   longitudeNum

    Numbers of grid‘s longitude line
    経線の数量
    网格经线的数量

    property
  •   maxSticksNum

    Max number of sticks
    スティックの最大数量
    表示柱条的最大数量

    property
  •   selectedStickIndex

    Selected index of sticks
    選べたスティック
    被选中的柱条

    property
  •   maxValue

    Max display value of axis Y
    Y軸の最大値
    Y轴显示最大值

    property
  •   minValue

    Min display value of axis Y
    Y軸の最小値
    Y轴显示最小值

    property
  •   axisCalc

    fast calculator for axis Y degrees (display degrees=degrees/axisCalc)
    Y軸目盛りの快速計算子,(表示目盛り=計算目盛り/axisCalc)
    Y轴显示值的快速计算子(表示刻度= 计算刻度/axisCalc)

    property
  •   coChart

    if this chart touched,will effect some other charts,this value is for save them
    連携チャート、チャートに関する動作の連携用
    两个相同类型图表之间传值用对象

    property
  • – drawData:

    Draw sticks to this graph
    スティックデータを使いてスティックを書く
    使用数据绘制柱条

  • – initAxisX

    Init X axis degrees
    初期化X軸の目盛
    初始化X轴的刻度

  • – initAxisY

    Init Y axis degrees
    初期化Y軸の目盛
    初始化Y轴的刻度

  • – calcSelectedIndex

    calculate the selected index from selected point
    選べたポイントから選べたインデックスを計算
    计算选中的列索引

  • – setSelectedPointAddReDraw:

    change the selected point of this graph, Redraw this graph
    選べたポイントを変更して、グラフを再書く
    设置选中的点并重新绘制图表

Other Methods

  • – initProperty

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

  • – calcAxisXGraduate:

    calculate the x axis display degrees of touched point
    経度数の表示目盛りを計算する。
    计算经度的表示刻度

  • – calcAxisYGraduate:

    calculate the y axis display degrees of touched point
    緯度数の表示目盛りを計算する。
    计算纬度的表示刻度

  • – zoomOut

    Zoom out the grid
    縮小表示する。
    缩小

  • – zoomIn

    Zoom out the grid
    拡大表示する。
    放大表示

Properties

axisCalc

fast calculator for axis Y degrees (display degrees=degrees/axisCalc)
Y軸目盛りの快速計算子,(表示目盛り=計算目盛り/axisCalc)
Y轴显示值的快速计算子(表示刻度= 计算刻度/axisCalc)

@property (assign, nonatomic) NSUInteger axisCalc

Discussion

fast calculator for axis Y degrees (display degrees=degrees/axisCalc)
Y軸目盛りの快速計算子,(表示目盛り=計算目盛り/axisCalc)
Y轴显示值的快速计算子(表示刻度= 计算刻度/axisCalc)

Declared In

CCSStickChart.h

coChart

if this chart touched,will effect some other charts,this value is for save them
連携チャート、チャートに関する動作の連携用
两个相同类型图表之间传值用对象

@property (assign, nonatomic) CCSStickChart *coChart

Discussion

if this chart touched,will effect some other charts,this value is for save them
連携チャート、チャートに関する動作の連携用
两个相同类型图表之间传值用对象

Declared In

CCSStickChart.h

latitudeNum

Numbers of grid‘s latitude line
緯線の数量
网格纬线的数量

@property (assign, nonatomic) NSUInteger latitudeNum

Discussion

Numbers of grid‘s latitude line
緯線の数量
网格纬线的数量

Declared In

CCSStickChart.h

longitudeNum

Numbers of grid‘s longitude line
経線の数量
网格经线的数量

@property (assign, nonatomic) NSUInteger longitudeNum

Discussion

Numbers of grid‘s longitude line
経線の数量
网格经线的数量

Declared In

CCSStickChart.h

maxSticksNum

Max number of sticks
スティックの最大数量
表示柱条的最大数量

@property (assign, nonatomic) NSUInteger maxSticksNum

Discussion

Max number of sticks
スティックの最大数量
表示柱条的最大数量

Declared In

CCSStickChart.h

maxValue

Max display value of axis Y
Y軸の最大値
Y轴显示最大值

@property (assign, nonatomic) CGFloat maxValue

Discussion

Max display value of axis Y
Y軸の最大値
Y轴显示最大值

Declared In

CCSStickChart.h

minValue

Min display value of axis Y
Y軸の最小値
Y轴显示最小值

@property (assign, nonatomic) CGFloat minValue

Discussion

Min display value of axis Y
Y軸の最小値
Y轴显示最小值

Declared In

CCSStickChart.h

selectedStickIndex

Selected index of sticks
選べたスティック
被选中的柱条

@property (assign, nonatomic) NSUInteger selectedStickIndex

Discussion

Selected index of sticks
選べたスティック
被选中的柱条

Declared In

CCSStickChart.h

stickBorderColor

Color for display stick boder
表示スティックのボーダーの色
表示柱条的边框颜色

@property (retain, nonatomic) UIColor *stickBorderColor

Discussion

Color for display stick boder
表示スティックのボーダーの色
表示柱条的边框颜色

Declared In

CCSStickChart.h

stickData

Data for display stick
スティックを表示用データ
表示柱条用的数据

@property (retain, nonatomic) NSArray *stickData

Discussion

Data for display stick
スティックを表示用データ
表示柱条用的数据

Declared In

CCSStickChart.h

stickFillColor

Color for display stick
表示スティックの色
表示柱条的填充颜色

@property (retain, nonatomic) UIColor *stickFillColor

Discussion

Color for display stick
表示スティックの色
表示柱条的填充颜色

Declared In

CCSStickChart.h

Instance Methods

calcAxisXGraduate:

calculate the x axis display degrees of touched point
経度数の表示目盛りを計算する。
计算经度的表示刻度

- (NSString *)calcAxisXGraduate:(CGRect)rect

Parameters

rect

the rect of the grid
グリドのrect
图表的rect

Return Value

NSString * the calculated value
計算出した目盛り
刻度结果

Declared In

CCSGridChart.h

calcAxisYGraduate:

calculate the y axis display degrees of touched point
緯度数の表示目盛りを計算する。
计算纬度的表示刻度

- (NSString *)calcAxisYGraduate:(CGRect)rect

Parameters

rect

the rect of the grid
グリドのrect
图表的rect

Return Value

NSString * the calculated value
計算出した目盛り
刻度结果

Declared In

CCSGridChart.h

calcSelectedIndex

calculate the selected index from selected point
選べたポイントから選べたインデックスを計算
计算选中的列索引

- (void)calcSelectedIndex

Discussion

calculate the selected index from selected point
選べたポイントから選べたインデックスを計算
计算选中的列索引

Declared In

CCSStickChart.h

drawData:

Draw sticks to this graph
スティックデータを使いてスティックを書く
使用数据绘制柱条

- (void)drawData:(CGRect)rect

Parameters

rect

the rect of the grid
グリドのrect
图表的rect

Declared In

CCSStickChart.h

initAxisX

Init X axis degrees
初期化X軸の目盛
初始化X轴的刻度

- (void)initAxisX

Declared In

CCSStickChart.h

initAxisY

Init Y axis degrees
初期化Y軸の目盛
初始化Y轴的刻度

- (void)initAxisY

Declared In

CCSStickChart.h

initProperty

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

- (void)initProperty

Discussion

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

Declared In

CCSBaseChartView.h

setSelectedPointAddReDraw:

change the selected point of this graph, Redraw this graph
選べたポイントを変更して、グラフを再書く
设置选中的点并重新绘制图表

- (void)setSelectedPointAddReDraw:(CGPoint)point

Parameters

point

the point to draw the grid
選べたポイント
选中点

Declared In

CCSStickChart.h

zoomIn

Zoom out the grid
拡大表示する。
放大表示

- (void)zoomIn

Declared In

CCSGridChart.h

zoomOut

Zoom out the grid
縮小表示する。
缩小

- (void)zoomOut

Declared In

CCSGridChart.h