31 #import <Cocoa/Cocoa.h> 32 #import <CorePlot/CorePlot.h> 44 @interface SensorDataViewController : NSViewController <CPTPlotAreaDelegate, CPTPlotSpaceDelegate, CPTPlotDataSource, CPTScatterPlotDelegate>
95 @property (strong, nonatomic, nonnull) IBOutlet CPTGraphHostingView *
hostingView;
105 - (void)setParameters:(NSUInteger)time titleSize:(NSUInteger)aTitleSize;
113 - (void)generatePlotInView:(nonnull NSView *)view;
121 - (void)showData:(nonnull
id)sender;
131 - (void)incomingCalibrationData:(nonnull
id)sender;
CPTScatterPlot * negativeThresholdLine
Definition: SensorDataViewController.h:70
CGFloat plotMaxTime
Definition: SensorDataViewController.h:55
Sensor data view controller class class.
Definition: SensorDataViewController.h:44
float positiveThresholdValue
Definition: SensorDataViewController.h:75
CPTGraph * graph
Definition: SensorDataViewController.h:60
bool isCalibrating
Definition: SensorDataViewController.h:90
CGFloat titleSize
Definition: SensorDataViewController.h:50
CPTScatterPlot * sensorDataPlot
Definition: SensorDataViewController.h:85
void resetGraph()
Definition: SensorDataViewController.m:93
float negativeThresholdValue
Definition: SensorDataViewController.h:65
CPTScatterPlot * positiveThresholdLine
Definition: SensorDataViewController.h:80
IBOutlet CPTGraphHostingView * hostingView
Definition: SensorDataViewController.h:96