Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Highlighting area in a graph

Is there any way I can highlight areas in a graph.

Almost like when zooming using InteractionMode = ZoomX, except I do not want to zoom, just having the area remain highlighted.

0 Kudos
Message 1 of 5
(4,231 Views)

Have you looked at range annotations as an option? If they don't fit your needs, can you let us know why not/what is missing?

 

David Rohacek

National Instruments

0 Kudos
Message 2 of 5
(4,218 Views)
OK, maybe I can use those. Is there any way I can create them at runtime and let the user drag out the position and size?
0 Kudos
Message 3 of 5
(4,201 Views)

That functionality is not built into the annotations. I can think of a few options:

1) Use cursors to allow the end user to specify the location and dimensions of a range annotation

2) Use an Instrument Control Strip to allow the end user to specify the location and dimensions of a range annotation

3) Implement the mouse dragging & click functionality yourself

 

David Rohacek

National Instruments

0 Kudos
Message 4 of 5
(4,183 Views)

Check out the examples located at this post as they might be of some use.

 

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 5 of 5
(4,165 Views)