Skip to content

Commit

Permalink
Remove error, add default style for x axis and y axis
Browse files Browse the repository at this point in the history
  • Loading branch information
AAChartModel committed Mar 8, 2018
1 parent 0710b5a commit aced620
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
1 change: 1 addition & 0 deletions AAChartKitLib/AAChartConfiger/AAChartModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ typedef NSString *AAChartStackingType;
typedef NSString *AAChartSymbolType;
typedef NSString *AAChartSymbolStyleType;
typedef NSString *AAChartFontWeightType;
typedef NSString *AACrosshairDashStyleType;

UIKIT_EXTERN AAChartType const AAChartTypeStrange;
UIKIT_EXTERN AAChartType const AAChartTypeColumn;
Expand Down
9 changes: 9 additions & 0 deletions AAChartKitLib/AAChartConfiger/AAChartModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,15 @@ - (instancetype)init {
self.yAxisLabelsFontColor = @"#778899";//浅石板灰色字体
self.yAxisLabelsFontWeight = AAChartFontWeightTypeThin;//细体字
self.yAxisAlternateGridColor= @"#ffffff";//backcolor of every other grid line area

self.xAxisCrosshairWidth = @2;
self.xAxisCrosshairColor = @"#00bfff";
self.xAxisCrosshairDashStyleType = AACrosshairDashStyleTypeLongDashDot;
self.yAxisCrosshairWidth = @2;
self.yAxisCrosshairColor = @"#00bfff";
self.yAxisCrosshairDashStyleType = AACrosshairDashStyleTypeLongDashDot;


}
return self;
}
Expand Down
6 changes: 3 additions & 3 deletions AAChartKitLib/AAOptionsModel/AACrosshair.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@

@interface AACrosshair : NSObject

AAPropStatementAndFuncStatement(copy, AACrosshair, AACrosshairDashStyleType, dashStyle); //准星线样式
AAPropStatementAndFuncStatement(copy, AACrosshair, NSString*, color); //准星线颜色
AAPropStatementAndFuncStatement(strong, AACrosshair, NSNumber*, width); //准星线宽度
AAPropStatementAndFuncStatement(copy, AACrosshair, NSString *, dashStyle); //准星线样式
AAPropStatementAndFuncStatement(copy, AACrosshair, NSString *, color); //准星线颜色
AAPropStatementAndFuncStatement(strong, AACrosshair, NSNumber *, width); //准星线宽度


@end
Expand Down
6 changes: 3 additions & 3 deletions AAChartKitLib/AAOptionsModel/AACrosshair.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@

@implementation AACrosshair

AAPropSetFuncImplementation(AACrosshair, NSString*, dashStyle); //准星线样式
AAPropSetFuncImplementation(AACrosshair, NSString*, color); //准星线颜色
AAPropSetFuncImplementation(AACrosshair, NSNumber*, width); //准星线宽度
AAPropSetFuncImplementation(AACrosshair, NSString *, dashStyle); //准星线样式
AAPropSetFuncImplementation(AACrosshair, NSString *, color); //准星线颜色
AAPropSetFuncImplementation(AACrosshair, NSNumber *, width); //准星线宽度

@end

2 comments on commit aced620

@skuske
Copy link
Contributor

@skuske skuske commented on aced620 Mar 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uups. Sorry for that and thanks for fixing.

@AAChartModel
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😝😝😝

Please sign in to comment.