locked
How can i draw pi chart using silver light 4 (Using C# as Managed Code) in Visual Studio 2010? RRS feed

  • Question

  • Hi, i am developing windows 7 mobile applications. I want to draw  Pi Chart in Emulator .Can anybody guide me. Currently i am working on Visual Studio 2010.

    Wednesday, October 12, 2011 12:36 AM

Answers

  • Which version of Silverlight toolkit (clr-namespace:System.Windows.Controls.DataVisualization.Charting) were you using?
    Have you tried using Charting Controls provided by Silverlight 3 Toolkit instead of Silverlight 4 Toolkit?

    You have to be aware of the fact that even if Silverlight 4 and Windows Phone 7 both share some XAML coding similarities...
    we're talking about 2 different entities here. So there are some pretty good chances that you won't be able to run SLV 4 toolkit dll on Windows Phone 7 at this stage. Therefore it is recommanded to use Silverlight 3 Toolkit version instead...

    You can have a check at following link for further infos...
    http://pendsevikram.blogspot.com/2010/08/silverlight-on-mobile-charting-on.html
     
    I've used pretty similar scenarios on WP 7, using Silverlight 3 Toolkit dll and it worked pretty well in my case.

    If this answers your question, please Mark as an answer. Thank you.

    Thursday, October 13, 2011 1:04 PM

All replies

  • check this:

    http://mariaevert.dk/thesis/?p=783

    Wednesday, October 12, 2011 1:40 AM
  • Hi ayanc. I have developed an application with your example,but pi chart is  not appearing in the Emulator.

    I have developed this application using visual studio 2010. I have added 

     xmlns:charting="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"    
    namespace  and added
    System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.
    DataVisualization.Toolkit"     in Referances also.
    Wednesday, October 12, 2011 7:47 AM
  • Which version of Silverlight toolkit (clr-namespace:System.Windows.Controls.DataVisualization.Charting) were you using?
    Have you tried using Charting Controls provided by Silverlight 3 Toolkit instead of Silverlight 4 Toolkit?

    You have to be aware of the fact that even if Silverlight 4 and Windows Phone 7 both share some XAML coding similarities...
    we're talking about 2 different entities here. So there are some pretty good chances that you won't be able to run SLV 4 toolkit dll on Windows Phone 7 at this stage. Therefore it is recommanded to use Silverlight 3 Toolkit version instead...

    You can have a check at following link for further infos...
    http://pendsevikram.blogspot.com/2010/08/silverlight-on-mobile-charting-on.html
     
    I've used pretty similar scenarios on WP 7, using Silverlight 3 Toolkit dll and it worked pretty well in my case.

    If this answers your question, please Mark as an answer. Thank you.

    Thursday, October 13, 2011 1:04 PM