text: //
  //  CCProtocolAxisBase.h
  //  CCTrendCharts
  //
  //  Created by Cocos on 2019/9/11.
  //  Copyright © 2019 Cocos. All rights reserved.
  //
  
  #import <Foundation/Foundation.h>
  #import "CCProtocolBase.h"
  
  typedef NS_ENUM (NSUInteger, CCXAxisLabelPosition) {
      CCXAxisLabelPositionBottom, // X轴上方
      CCXAxisLabelPositionTop, // x轴下方
  };
  
  typedef NS_ENUM (NSUInteger, CCYAxisLabelPosition) {
      CCYAxisLabelPositionInside, // y轴里侧
      CCYAxisLabelPositionOutside, // y轴外侧
  };
  
  typedef NS_ENUM (NSUInteger, CCYAsixDependency) {
      CCYAsixDependencyLeft  = 0 << 0, // 左侧Y轴
      CCYAsixDependencyRight = 1 << 1, // 右侧Y轴
  };
  
  
  @protocol CCProtocolAxisBase <
      CCProtocolBase,
      NSCopying // 所有的Axis数据提供者都需要支持NSCopying协议, 这是为了方便其他视图复制样式
      >
  @required
  
  /**
   轴上文字字体
   */
  @property (nonatomic, strong) UIFont *font;
  
  /**
   label颜色
   */
  @property (nonatomic, strong) UIColor *labelColor;
  
  
  /// 禁止渲染Label
  ///
  /// 默认 NO
  @property (nonatomic, assign) BOOL labelDisable;
  
  /**
   label最大行数, 支持文本多行摆放
   */
  //@property (nonatomic, assign) NSInteger labelMaxLine;
  
  /**
   轴的颜色
   */
  @property (nonatomic, strong) UIColor *axisColor;
  
  /**
   轴线粗细程度
   */
  @property (nonatomic, assign) CGFloat axisLineWidth;
  
  /**
   轴上文案x方向偏移量. x轴默认是0, y轴默认是5.
   */
  @property (nonatomic, assign) CGFloat xLabelOffset;
  
  /**
   轴上文案y方向偏移量, 负值表示向上偏移. x轴默认是5, y轴默认是0.
   */
  @property (nonatomic, assign) CGFloat yLabelOffset;
  
  
  /// 是否禁止绘制轴线
  ///
  /// 默认 NO
  @property (nonatomic, assign) BOOL axisLineDisabled;
  
  /// 返回轴上文案区域最大需要的尺寸
  @property (nonatomic, assign, readwrite) CGSize requireSize;
  
  #pragma mark - 网格属性
  
  /// 网格颜色
  @property (nonatomic, strong) UIColor *gridColor;
  
  /// 网格线宽
  @property (nonatomic, assign) CGFloat gridLineWidth;
  
  @property (nonatomic, assign) BOOL gridLineEnabled;
  
  
  @end
  