Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

wpf graph annotation target is hidden under the plot

Solved!
Go to solution

Annotation target is hidden under plot and cannot be interacted with. Annotation label is positioned over the same plot and is draggable. Without plot everything works fine. When I zoom in enough so that plot isn't too thick, it also works fine. See attachment, there is barely visible annotation circle under the plot, and it cannot be moved. Only if I click at the circle part that is not covered by the plot, it can be moved.

 

Measurement Studio 2013, VS 2010, Windows 8 64-bit

0 Kudos
Message 1 of 5
(6,517 Views)

Unfortunately, this is a known issue in Measurement Studio 2013.

 

As a workaround, you can set the Graph.Position attached property to AbovePlots, so that the plots will not interfere with the annotation's mouse interaction.

~ Paul H
0 Kudos
Message 2 of 5
(6,504 Views)

Graph.Position is property of what class? Annotations don't have such property.

0 Kudos
Message 3 of 5
(6,493 Views)
Solution
Accepted by eugenem

It is an attached property defined by the LayeredGraph base class. In code, you would use Graph.SetPosition( annotation, GraphLayerPosition.AbovePlots ); in XAML, ni:Graph.Position="AbovePlots".

~ Paul H
0 Kudos
Message 4 of 5
(6,487 Views)

Just wanted to let you know this issue (#351145) was fixed in the Measurement Studio 2015 release.

~ Paul H
0 Kudos
Message 5 of 5
(4,808 Views)