XAML binding LineAnnotation

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

golden_jubilee wrote at 2014-05-23 00:09:

Hello,

it is easy to add a static LineAnnotation in XAML.
 <oxy:Plot.Annotations>
  <oxy:LineAnnotation Type="Vertical" X="10" Color="Red" />
</oxy:Plot.Annotations>
However, how to bind n LineAnnoations with X values created in the ViewModel?