@@ -58,7 +58,7 @@ - (UIBarButtonItem *)leftButton {
5858
5959- (UIBarButtonItem *)rightButton {
6060 if (!_rightButton) {
61- _rightButton = [[UIBarButtonItem alloc ] initWithTitle: NSLocalizedString( @" ChartList " , @" ChartList " ) style: UIBarButtonItemStyleDone target: self action: @selector (onMultiChart )];
61+ _rightButton = [[UIBarButtonItem alloc ] initWithTitle: @" 多图列表 " style: UIBarButtonItemStyleDone target: self action: @selector (onMultiChart )];
6262 }
6363 return _rightButton;
6464}
@@ -75,28 +75,28 @@ - (void)onMultiChart {
7575
7676+ (NSArray *)demoInfo {
7777 return @[
78- @{@" type" : @" baseLine" , @" name" : NSLocalizedString( @" BaseLineChart " , " BaseLineChart " ), @" view" : @" BaseLineChart " },
79- @{@" type" : @" multiAxiesLine" , @" name" : NSLocalizedString( @" BaseLineChart2 " , " BaseLineChart(Dual Y-axis) " ) , @" view" : @" BaseLineChart2 " },
80- @{@" type" : @" multiLine" , @" name" : NSLocalizedString( @" ContrastLineChart " , " ContrastLineChart " ), @" view" : @" ContrastLineChart " },
81- @{@" type" : @" baseArea" , @" name" : NSLocalizedString( @" BaseAreaChart " , " BaseAreaChart " ), @" view" : @" BaseAreaChart " },
82- @{@" type" : @" baseArea2" , @" name" : NSLocalizedString( @" BaseAreaChart2 " , " BaseAreaChart2(with negative value) " ) , @" view" : @" BaseAreaChart2 " },
83- @{@" type" : @" baseArea3" , @" name" : NSLocalizedString( @" BaseAreaChart3 " , " BaseAreaChart3(x baseline is not 0) " ) , @" view" : @" BaseAreaChart3 " },
84- @{@" type" : @" multiArea" , @" name" : NSLocalizedString( @" StackedAreaChart " , " StackedAreaChart " ), @" view" : @" StackedAreaChart " },
85- @{@" type" : @" baseInterval " , @" name" : NSLocalizedString( @" BaseBarChart " , " BaseBarChart " ), @" view" : @" BaseBarChart " },
86- @{@" type" : @" baseInterval2 " , @" name" : NSLocalizedString( @" BaseBarChart2 " , " BaseBarChart2 " ), @" view" : @" BaseBarChart2 " },
87- @{@" type" : @" multiInterval " , @" name" : NSLocalizedString( @" GroupBarChart " , " GroupBarChart " ), @" view" : @" GroupBarChart " },
88- @{@" type" : @" multiInterval2 " , @" name" : NSLocalizedString( @" GroupBarChart2 " , " GroupBarChart2(with negative value) " ), @" view" : @" GroupBarChart2 " },
89- @{@" type" : @" multiInterval3 " , @" name" : NSLocalizedString( @" GroupStackBarChart " , " GroupStackBarChart " ), @" view" : @" GroupStackBarChart " },
90- @{@" type" : @" setionInterval " , @" name" : NSLocalizedString( @" HistogramBarChart " , " HistogramBarChart " ), @" view" : @" HistogramBarChart " },
91- @{@" type" : @" Point " , @" name" : NSLocalizedString( @" BasePointChart " , " BasePointChart " ), @" view" : @" BasePointChart " },
92- @{@" type" : @" basestrip " , @" name" : NSLocalizedString( @" StripChart " , " StripChart " ), @" view" : @" StripChart " },
93- @{@" type" : @" basePie " , @" name" : NSLocalizedString( @" BasePieChart " , " BasePieChart " ), @" view" : @" BasePieChart " },
94- @{@" type" : @" basePie" , @" name" : NSLocalizedString( @" CyclicPieChart " , " CyclicPieChart " ), @" view" : @" CyclicPieChart " },
95- @{@" type" : @" radarArea " , @" name" : NSLocalizedString( @" RadarAreaChart " , " RadarAreaChart " ), @" view" : @" RadarAreaChart " },
96- @{@" type" : @" klineDay" , @" name" : NSLocalizedString( @" CandleChart " , " CandleChart " ), @" view" : @" CandleChart " },
97- @{@" type" : @" timeSharing" , @" name" :NSLocalizedString( @" TimeSharingChart " , " TimeSharingChart " ), @" view" : @" TimeSharingChart " },
98- @{@" type" : @" marketMoving" , @" name" : NSLocalizedString( @" MarketMovingChart " , " MarketMovingChart " ), @" view" : @" MarketMovingChart " },
99- @{@" type" : @" baseGuide" , @" name" : NSLocalizedString( @" BaseGuideChart " , " BaseGuideChart " ), @" view" : @" BaseGuideChart " },
78+ @{@" type" : @" baseLine" , @" name" : @" 基础折线图 " , @" view" : @" BaseLineUIView " },
79+ @{@" type" : @" multiAxiesLine" , @" name" : @" 基础折线图(双Y轴) " , @" view" : @" MultiAxiesLineUIView " },
80+ @{@" type" : @" multiLine" , @" name" : @" 对比折线图 " , @" view" : @" MultiLineUIView " },
81+ @{@" type" : @" baseArea" , @" name" : @" 基础面积图 " , @" view" : @" BaseAreaUIView " },
82+ @{@" type" : @" baseArea2" , @" name" : @" 基础面积图2(带负值) " , @" view" : @" BaseAreaUIView2 " },
83+ @{@" type" : @" baseArea3" , @" name" : @" 基础面积图2(x基线不为0) " , @" view" : @" BaseAreaUIView3 " },
84+ @{@" type" : @" multiArea" , @" name" : @" 层叠面积图 " , @" view" : @" MultiAreaUIView " },
85+ @{@" type" : @" radarArea " , @" name" : @" 雷达面积图 " , @" view" : @" RadarAreaUIView " },
86+ @{@" type" : @" baseInterval " , @" name" : @" 基础柱状图 " , @" view" : @" BaseIntervalUIView " },
87+ @{@" type" : @" baseInterval2 " , @" name" : @" 基础柱状图2 " , @" view" : @" BaseInterval2UIView " },
88+ @{@" type" : @" multiInterval " , @" name" : @" 分组柱状图 " , @" view" : @" MultintervalUIView " },
89+ @{@" type" : @" multiInterval2 " , @" name" : @" 分组柱状图2(带负值) " , @" view" : @" MultiIntervalUIView2 " },
90+ @{@" type" : @" multiInterval3 " , @" name" : @" 分组层叠柱状图 " , @" view" : @" MultiIntervalUIView3 " },
91+ @{@" type" : @" setionInterval " , @" name" : @" 区间柱状图 " , @" view" : @" SetionIntervalUIView " },
92+ @{@" type" : @" Point " , @" name" : @" 散点图 " , @" view" : @" BasePointUIView " },
93+ @{@" type" : @" basestrip " , @" name" : @" 条状图 " , @" view" : @" StripUIView " },
94+ @{@" type" : @" basePie" , @" name" : @" 饼图 " , @" view" : @" BasePieUIView " },
95+ @{@" type" : @" basePie " , @" name" : @" 环形饼图 " , @" view" : @" CyclicPieUIView " },
96+ @{@" type" : @" klineDay" , @" name" : @" 蜡烛图(日K) " , @" view" : @" KLineUIView " },
97+ @{@" type" : @" timeSharing" , @" name" : @" 股票分时图 " , @" view" : @" TimeSharingUIView " },
98+ @{@" type" : @" marketMoving" , @" name" : @" 大盘异动 " , @" view" : @" MarketMovingUIView " },
99+ @{@" type" : @" baseGuide" , @" name" : @" 辅助组件 " , @" view" : @" BaseGuideUIView " },
100100 ];
101101}
102102
0 commit comments