Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

how to change wpf graph zoom selection color?

Solved!
Go to solution

How to change this heavy yellow color to something more transparent?

0 Kudos
Message 1 of 4
(5,937 Views)
Solution
Accepted by topic author eugenem

Currently, there is no property available to customize the color of the interaction visual. I have created a task to add this feature.


As a workaround, you can use the attached custom interaction as a wrapper around the built-in graph interactions to specify custom brushes for the stroke and fill:


    var customInteraction = new CustomInteraction( GraphInteraction.Zoom );
    customInteraction.SelectionStroke = Brushes.Green;
    graph.DefaultInteraction = customInteraction;

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

You are the best, man!

0 Kudos
Message 3 of 4
(5,858 Views)

Just wanted to let you know that we added the SelectionFill property in the Measurement Studio 2015 release.

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