WPF: how to change my chart to get only one value instead of 2 <p>This is my <code>chart</code>:</p> <pre><code>&lt;Grid&gt; &lt;chartingToolkit:Chart Name="lineChart" Margin="16,90,30,483" Background="Transparent"&gt; &lt;chartingToolkit:LineSeries DependentValuePath="Value" IndependentValuePath="Key" ItemsSource="{Binding}" IsSelectionEnabled="True" Margin="0,-37,0,37" &gt; &lt;chartingToolkit:LineSeries.Template&gt; &lt;ControlTemplate TargetType="chartingToolkit:LineSeries"&gt; &lt;Canvas x:Name="PlotArea"&gt; &lt;Polyline x:Name="polyline" Points="{TemplateBinding Points}" Stroke="Yellow" Style="{TemplateBinding PolylineStyle}" /&gt; &lt;/Canvas&gt; &lt;/ControlTemplate&gt; &lt;/chartingToolkit:LineSeries.Template&gt; &lt;/chartingToolkit:LineSeries&gt; &lt;/chartingToolkit:Chart&gt; &lt;/Grid&gt; </code></pre> <p>Currently i am using this <code>list</code> to populate my <code>chart</code>:</p> <pre><code>ObservableCollection&lt;KeyValuePair&lt;int, int&gt;&gt; points </code></pre> <p>But after change my model i have only 1 <code>value</code> that i want to add - <code>double</code> so i try to remove from my <code>chart</code> the <code>DependentValuePath="Value"</code> or <code>IndependentValuePath="Key"</code> but this likely not the way to do that.</p>