Class MatVisualizer<TWaveformView>
Provides a base class for displaying data as a waveform graph.
public class MatVisualizer<TWaveformView> : BufferedVisualizer where TWaveformView : WaveformView, new()
Type Parameters
TWaveformView
A type derived from WaveformView which will control how data is displayed.
- Inheritance
-
MatVisualizer<TWaveformView>
- Derived
- Inherited Members
Properties
- AutoScaleX
Gets or sets a value indicating whether to compute the range of the x-axis automatically based on the range of the data that is included in the graph.
- AutoScaleY
Gets or sets a value indicating whether to compute the range of the y-axis automatically based on the range of the data that is included in the graph.
- ChannelOffset
Gets or sets a value which will be added to the samples of each channel, proportional to channel index, for the purposes of visualization.
- ChannelsPerPage
Gets or sets the maximum number of channels which should be included in a single page.
- Graph
Gets the graph control used to display the data.
- HistoryLength
Gets or sets a value specifying how many previous data buffers to store and display in the graph.
- OverlayChannels
Gets or sets a value indicating whether to overlay the traces of all the channels in the page into a single waveform graph. If this value is false, channels will be displayed individually in separate graph panes.
- SelectedChannels
Gets or sets the indices of the channels to display when the visualizer is in overlay mode.
- SelectedPage
Gets or sets the currently selected channel page. Channels in the currently selected page will be the ones displayed in the graph.
- TargetInterval
Gets or sets the target interval, in milliseconds, between visualizer updates.
- WaveformBufferLength
Gets or sets a value specifying how many previous traces to overlay for each channel.
- XMax
Gets or sets the upper bound of the x-axis displayed in the graph.
- XMin
Gets or sets the lower bound of the x-axis displayed in the graph.
- YMax
Gets or sets the upper bound of the y-axis displayed in the graph.
- YMin
Gets or sets the lower bound of the y-axis displayed in the graph.
Methods
- Load(IServiceProvider)
Loads type visualizer resources using the specified service provider.
- Show(object)
Updates the type visualizer to display the specified value object.
- ShowBuffer(IList<Timestamped<object>>)
Updates the type visualizer with a new buffer of timestamped values.
- Unload()
Unloads all type visualizer resources.