-
Notifications
You must be signed in to change notification settings - Fork 0
/
GraphViewController.h
45 lines (36 loc) · 1.48 KB
/
GraphViewController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// GraphViewController.h
// Metasome
//
// Created by Omar Metwally on 8/21/13.
// Copyright (c) 2013 Logisome. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "GraphView.h"
@class MetasomeParameter, LineView, HoveringLabel, Legend;
@interface GraphViewController : UIViewController <UIScrollViewDelegate>
{
UIScrollView *scrollView;
UILabel *anotherLabel;
HoveringLabel *titleHoveringLabel;
}
@property (nonatomic) CGContextRef ctx;
@property (nonatomic, strong) UILabel *verticalAxisBackground;
@property (nonatomic) float verticalAxisBackgroundX, verticalAxisBackgroundY, verticalAxisBackgroundWidth, verticalAxisBackgroundHeight;
@property (nonatomic, strong) NSMutableArray *hoveringLabels;
@property (nonatomic, strong) NSMutableArray *hoveringHorizontalLabels;
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) HoveringLabel *titleHoveringLabel;
@property (nonatomic, strong) UILabel *verticalAxisLine;
@property (nonatomic, strong) HoveringLabel *hoveringVerticalAxisLine;
@property (nonatomic, strong) GraphView *graphView;
@property (nonatomic, strong) Legend *legend;
@property (nonatomic, strong) NSMutableArray *hoveringVerticalLabels;
@property (nonatomic, strong) NSMutableArray *allEventLabels;
-(void)changeInterval;
-(void)updateLabelPosition:(HoveringLabel *)hl withinScrollView:(UIScrollView *)sv;
-(void)addTitle;
-(void)drawHorizontalAxisLabels;
-(void)drawVerticalAxisBackground;
-(void)generateHorizontalAxisLabels;
@end