TiStripChart

Hierarchy Properties Methods Events Examples

Unit

iStripChart (VCL)

QiStripChart (CLX)

Description

TiStripChart is a basic real-time strip chart with cursor, scroll, zoom, and zoom-box tools.

TIP! : If you also own our Plot Pack components, we highly recommend that you use the TiPlot component instead of this one. The TiPlot component has all of the speed of the older Strip Chart component, but has many more features.

The user can use the cursor, scroll, zoom, and zoom-box tools while data is being plotted. The display will not scroll or auto-scale while the tool's are being used. When the user switches out of the plot mode and into one of the tool modes, all X-Axis and Y-Axis settings are stored. When the user returns the mode back to plot, the previous X-Axis and Y-Axis settings are restored if RestoreXYAxisOnPlotMode is enabled.

To add data, you must add a time index first using one of the following IndexTime methods to specify the X-Axis value

AddIndexTime

AddIndexTimeNow

AddIndexTimeElapsedNow

Then use the ChannelData property to add each channel Y-Axis value individually. You can also use the SetChannelsData method to pass data for all channels in a variant array.

To display text labels with the data, use the AddLabelChannel method. There is no limitation to the number of LabelChannels that can be added. You can place a text label at each X-Axis point.

To display control and warning limits for each channel, use the various ChannelControlxxx and ChannelWarningxxx properties or the SetChannelControlLimits and SetChannelWarningLimits methods.

To improve performance, use the BeginUpdate and EndUpdate to prevent repaints every time a piece of data is added.

Set EnableDataDrawMinMax to True when displaying a large number of data points per channel in the viewable area to dramatically improve performance. If enabled when a small number of data points are viewable, performance will decrease slightly.

Contents | Index | Previous | Next