title: C# WPF OxyPlot error plot does not exist in namespace
body: <p>Hi I have a problem configuring oxyplot in WPF. I have found a few solutions but nothing works. I have found out that this is the best <a href="http://blog.bartdemeyer.be/2013/03/creating-graphs-in-wpf-using-oxyplot/" rel="nofollow noreferrer">http://blog.bartdemeyer.be/2013/03/creating-graphs-in-wpf-using-oxyplot/</a>
  but something still wrong and I get this error in XAML file:</p>
  
  <p>the name plot does not exist in the namespace codeplex</p>
  
  <p>MainWindow.xaml FILE:</p>
  
  <pre><code>&lt;Window x:Class="OxyPlotDemo.MainWindow"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:local="clr-namespace:OxyPlotDemo"
       xmlns:oxy="http://oxyplot.codeplex.com"
      mc:Ignorable="d"
      Title="MainWindow" Height="350" Width="525"&gt;
  
  &lt;Grid&gt;
      &lt;oxy:Plot x:Name="Plot1" Title="A Graph" Model="{Binding PlotModel}" Margin="10" Grid.Row="1"&gt;
      &lt;/oxy:Plot&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p></p>
  
  <p>MainWindow.xaml.cs</p>
  
  <pre><code>using System.Windows;
  namespace OxyPlotDemo
  
  {
  
  public partial class MainWindow : Window
  {
  
      private ViewModels.MainWindowModel viewModel;
      public MainWindow()
      {
  
          viewModel = new ViewModels.MainWindowModel();
          DataContext = viewModel;
  
          InitializeComponent();
      }
  }
  }
  </code></pre>
  
  <p>MainWindowModel.cs</p>
  
  <pre><code>using  System.ComponentModel;
  using OxyPlot;
  
  
  namespace OxyPlotDemo.ViewModels
  {
      public class MainWindowModel : INotifyPropertyChanged
      {
          private PlotModel plotModel;
          public PlotModel PlotModel
          {
              get { return plotModel; }
              set { plotModel = value; OnPropertyChanged("PlotModel"); }
      }
  
      public MainWindowModel()
      {
          PlotModel = new PlotModel();
      }
  
      public event PropertyChangedEventHandler PropertyChanged;
  
      //[NotifyPropertyChangedInvocator]
      protected virtual void OnPropertyChanged(string propertyName)
      {
          PropertyChangedEventHandler handler = PropertyChanged;
          if (handler != null) handler(this, new PropertyChangedEventArgs(propertyName));
      }
  }
  }
  </code></pre>
  
  <p>Maybe someone has better solution. I just need to display a few charts, that contains a lot of data from sensors, not in real time. </p>