locked
How do I create a chart ? C# .Net - Metro RRS feed

  • Question

  • Hi, I have two arrays, one with the X coordinates and the other with Y cor.

    I want to create a chart that shows the statistics by drawing a line between the positions.

    But what do I use for creating a chart like this ?

    A Canvas ?

    Monday, October 7, 2013 6:14 PM

Answers

  • Hi,ImNew54

    You can try to port chart control from WinRT XAML

    Toolkit : 

    http://winrtxamltoolkit.codeplex.com/
    And you can refer to the link to how to display a lot kinds of charts in windows 8:

    http://modernuicharts.codeplex.com/

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    • Edited by Anne Jing Tuesday, October 8, 2013 9:08 AM from
    • Marked as answer by Anne Jing Tuesday, October 15, 2013 8:16 AM
    Tuesday, October 8, 2013 9:07 AM

All replies

  • Hi,

    This question requires way more detail than this - for example pie chart, bar graph , line graph, Histograms there are plenty and asking such generic question with basic description is going to make others confused. Please elaborate.

    If you are planing on using canvas for such mathematical objects, It is not ideal I would say nevertheless I am imagining you want a basic bar graph. If so check this resource out in order to see how to construct and structure such graphs: http://www.codeproject.com/Articles/29752/Simple-WPF-Bar-Chart-Control

    Regards,

    Rohan Vijjhalwar

    Monday, October 7, 2013 8:08 PM
  • Hi,ImNew54

    You can try to port chart control from WinRT XAML

    Toolkit : 

    http://winrtxamltoolkit.codeplex.com/
    And you can refer to the link to how to display a lot kinds of charts in windows 8:

    http://modernuicharts.codeplex.com/

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    • Edited by Anne Jing Tuesday, October 8, 2013 9:08 AM from
    • Marked as answer by Anne Jing Tuesday, October 15, 2013 8:16 AM
    Tuesday, October 8, 2013 9:07 AM