-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathVianGraphHostingView.h
More file actions
41 lines (33 loc) · 990 Bytes
/
VianGraphHostingView.h
File metadata and controls
41 lines (33 loc) · 990 Bytes
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
//
// VianGraphHostingView.h
// AAPLot
//
// Created by admin on 3/30/11.
// Copyright 2011 Crystalnix. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CorePlot-CocoaTouch.h"
@class VianPlotAreaDescription;
@protocol VianGraphClickHandler
@optional
-(void)handleClick;
@end
@interface VianGraphHostingView : CPGraphHostingView <CPPlotSpaceDelegate, CPScatterPlotDataSource> {
@private
VianPlotAreaDescription *model;
BOOL handleTouch;
NSUInteger graphIndexForTouch;
CPXYAxis *selectionAxis;
CPScatterPlot *scatterPlotWithSymbol;
NSUInteger selectedPointIndex;
CGPoint prevTouchPt;
id clickerDelegate;
}
@property(nonatomic,retain) VianPlotAreaDescription *model;
@property(nonatomic,assign) BOOL handleTouch;
@property(nonatomic,assign) NSUInteger graphIndexForTouch;
@property(nonatomic,assign) id clickerDelegate;
-(void)updateGraphDataFromCurrentModel;
-(void)updateGraphStylesFromCurrentModel;
-(CPXYGraph*)graph;
@end