title: Dynamically create charts with wpf toolkit
body: <p>I want to dynamically create a chart woth wpf toolkit without using  xmal for binding dependant and independant values; this code is not working </p>
  
  <pre><code>            Chart myChart = new Chart();
  
              BarSeries colser = new BarSeries();
              myChart.Width = 250;
              myChart.Height = 250;
              myChart.Title = "chart";
  
              List&lt;KeyValuePair&lt;string, int&gt;&gt; valueList = new List&lt;KeyValuePair&lt;string, int&gt;&gt;();
              valueList.Insert(0, new KeyValuePair&lt;string, int&gt;("TOR", 10));
              valueList.Insert(1, new KeyValuePair&lt;string, int&gt;("SOC", 15));
              valueList.Insert(2, new KeyValuePair&lt;string, int&gt;("BOS", 18));
              valueList.Insert(3, new KeyValuePair&lt;string, int&gt;("NON", 11));
  
              colser.Title = "title";
              colser.IndependentValuePath = "Value";
              colser.DependentValuePath = "Key";
  
              colser.ItemsSource = valueList;
  
              myChart.Series.Add(colser);
              // added myChart to stackpanel as child
  </code></pre>