Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Plot's StrokeThickness in XAML

Solved!
Go to solution

I tried this but can't get the syntax right

 

<ni:Plot Label="R1" Renderer="{StrokeThickness="2"}"/>

 

Thanks

0 Kudos
Message 1 of 3
(4,164 Views)
Solution
Accepted by topic author kirko7

We don't define a markup extension for declaring renderers, but you can use nested property syntax, as shown in the answers to the WPF Using a graphs datasource and accessing the line colors and WPF Plot Color questions.

~ Paul H
0 Kudos
Message 2 of 3
(4,157 Views)

Thank you, that works.

0 Kudos
Message 3 of 3
(4,145 Views)