Advertisement
Guest User

Untitled

a guest
Feb 27th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. <my:Chart Name="chart1">
  2. <my:Chart.Axes>
  3. <my:CategoryAxis Orientation="Y" ShowGridLines="True" SortOrder="Descending" />
  4. <my:CategoryAxis Orientation="X" />
  5. </my:Chart.Axes>
  6. <my:Chart.Series>
  7. <my:LineSeries x:Name="ser"
  8. IndependentValueBinding="{Binding Value}"
  9. DependentValueBinding="{Binding Key}" AnimationSequence="FirstToLast" />
  10. </my:Chart.Series>
  11. </my:Chart>
  12.  
  13. Dictionary<int, int> source2 = new Dictionary<int, int>();
  14. source2.Add(13, 1);
  15. source2.Add(23, 2);
  16. source2.Add(33, 3);
  17. source2.Add(10, 4);
  18.  
  19. ser.ItemsSource = source2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement