You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.0 KiB
50 lines
1.0 KiB
1 year ago
|
//
|
||
|
// FBYLineGraphContentView.h
|
||
|
// FBYDataDisplay-iOS
|
||
|
//
|
||
|
// Created by fby on 2018/1/18.
|
||
|
// Copyright © 2018年 FBYDataDisplay-iOS. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
#import "FBYLineGraphBaseView.h"
|
||
|
|
||
|
@interface FBYLineGraphContentView : FBYLineGraphBaseView
|
||
|
/// 数据的 Y轴坐标
|
||
|
@property (nonatomic, strong) NSArray *valueArray;
|
||
|
|
||
|
/// 数据的 X 轴坐标
|
||
|
@property (nonatomic, strong) NSArray *xMarkValues;
|
||
|
|
||
|
/// X轴的最小值
|
||
|
@property (nonatomic, assign) CGFloat xMarkminValue;
|
||
|
|
||
|
/// X轴的最大值
|
||
|
@property (nonatomic, assign) CGFloat xMarkmaxValue;
|
||
|
|
||
|
|
||
|
/// Y轴的最大值
|
||
|
@property (nonatomic, assign) CGFloat maxValue;
|
||
|
/// Y轴的最小值
|
||
|
@property (nonatomic, assign) CGFloat minValue;
|
||
|
|
||
|
/// Y轴显示的 上限 线 值
|
||
|
@property (nonatomic, assign) CGFloat upperValue;
|
||
|
/// Y轴显示的 下限 线 值
|
||
|
@property (nonatomic, assign) CGFloat lowerValue;
|
||
|
|
||
|
@property (nonatomic, strong) UIColor *MainColor;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* 绘图
|
||
|
*/
|
||
|
- (void)mapping;
|
||
|
|
||
|
/**
|
||
|
* 更新折线图数据
|
||
|
*/
|
||
|
- (void)reloadDatas;
|
||
|
|
||
|
@end
|