Example: Annotation Bookmarking

Measurement Studio User Interface

Example: Annotation Bookmarking

Demonstrates use of several Annotation properties on the Measurement Studio CWGraph ActiveX control.

Description

This example demonstrates how to bookmark points on a plot with annotations, and then to scroll the graph to view those bookmarked points. In this example, an arrow and text style annotation marks several points along the plot. Click on one of the buttons to center the corresponding annotation.

Controls, Properties, Methods, and Events

This example demonstrates the following controls, properties, methods, and events:

CWAnnotation

Plot, PointIndex, SnapMode, Caption, Name, Shape

CWCaption

SetCoordinates

CWShape

XCoordinates

CWGraph

PlotY, Axes, TrackMode, Annotations

CWAxis

Minimum, Maximum

Example Location

Samples\UI\Graph\Graph Styles

See Also

Simple Annotations Example