title: WPF PieChart filling
body: <p>I´ve got the following code: </p>
  
  <pre><code>private void LoadPieChartData()
  {
      LinkedList&lt;String&gt; kostenstellen = rep.GetKostenstellen();
  
      for (int i = 0; i &lt; kostenstellen.Count; i++)
      {
          ((ColumnSeries)PieChart.Series[i]).ItemsSource = new KeyValuePair&lt;string, double&gt;[]{
             new KeyValuePair&lt;string,double&gt;(kostenstellen.ElementAt(i), i+1)
             };
          }
      }
  }
  </code></pre>
  
  <p>My Xaml looks like this:</p>
  
  <pre><code>&lt;DVC:Chart HorizontalAlignment="Left" Margin="625,44,0,0" Name="PieChart" VerticalAlignment="Top" Height="276" Width="256" &gt; 
      &lt;DVC:Chart.Series&gt;
          &lt;DVC:PieSeries Title="FirstPiece" ItemsSource="{Binding LoadPieChartData}" IndependentValueBinding="{Binding Path=Key}" DependentValueBinding="{Binding Path=Value}" /&gt;
          &lt;DVC:PieSeries Title="SecondPiece" ItemsSource="{Binding LoadPieChartData}" IndependentValueBinding="{Binding Path=Key}" DependentValueBinding="{Binding Path=Value}" /&gt;
      &lt;/DVC:Chart.Series&gt;
  &lt;/DVC:Chart&gt;
  </code></pre>
  
  <p>My problem is, that the i in the for-loop can be raise up to about 20. So, I would need about 20 PieSeries, to create them dynamic isn´t possible as I know.<br/>
  How can I manage that?</p>