-
Notifications
You must be signed in to change notification settings - Fork 13
Plot Manager
The Android Plot Manager is designed for use with one XYPlot only.
In order to plot data, you need to call the addSignal(signal[], chart) method where signal[] is a String array describing the signal you want to add in the format: DeviceName->Property->Format->Unit. Chart is the XYPlot you want to add the signal to.
The Android Plot Manager will then look for any signals that match the signals added using addSignal(). It does this by checking, retrieving, and plotting, the signal data contained in every ObjectCluster that is passed into it using the filterDataAndPlot(ObjectCluster ojc) method.
Note that by default, the X-axis of the plot is based on the sample number of the incoming ObjectClusters, e.g. Sample 1, Sample 2, Sample 3, Sample n. The PlotManager plots the samples as fast as they come in, so this will be based on the sampling rate of the device.