Phone-y charts [Silverlight/WPF Data Visualization Development Release 4 and Windows Phone 7 Charting sample!]
**
This blog has moved to a new location and comments have been disabled.
All old posts, new posts, and comments can be found on The blog of dlaa.me.
See you there!
Comments
Anonymous
April 20, 2010
The comment has been removedAnonymous
April 20, 2010
The comment has been removedAnonymous
April 22, 2010
Delay, Thanks very much for your info! Looking forward to it :) BTW, I noticed that .NET 4.0 actually gets the system.windows.forms.datavisualization namespace. Is the toolkit going into the .NET main stream? Thanks!Anonymous
April 22, 2010
kennetht, System.Windows.FORMS.DataVisualization is the namespace used by the Microsoft Charts assemblies that are available for WinForms/WebForms. They're not directly related to what's in the Silverlight/WPF Toolkits, though there are a variety of indirect relationships. But you're right about the basic notion that stuff like this might eventually find its way into the Framework itself. :)Anonymous
November 24, 2010
Nice Post! ' I tried your sample with WP7 RTM bits and it still works (which is cool). However I was hoping to use the "official" dlls that I downloaded from the Silverlight Toolkit page. I'm adding a reference to the .Controls of SL3 and to the .DataVisualization from SL 4 but the app fails to load with a bogus exception. So it seems that the bug that you aluded too hasn't been fixed yet. Am I missing something?Anonymous
November 24, 2010
Humberto, This should work okay on WP7 RTM because they have fixed the assembly signing bug that caused problems initially. In this post I note that I've switched my sample to use the official Controls assembly from the Silverlight 3 SDK: blogs.msdn.com/.../why-didn-t-i-think-of-that-in-the-first-place-windows-phone-7-charting-example-updated-to-include-reusable-platform-consistent-style-and-templates.aspx What might be happening in your case is that you're using a Silverlight 4 assembly with Windows Phone 7 (~Silverlight 3). Of course, I realize there isn't an official Silverlight 3 build of the April 2010 Silverlight 4 Toolkit Data Visualization assembly - which is why I used the Silverlight 3 one from my Development Release. :) The only difference there should be that it's not officially signed with the Microsoft key. If that's not an issue for you (and I'm not sure why it would need to be), you ought to be able to use the "semi-official" DataVis build that I produced instead. Hope this helps!Anonymous
February 22, 2011
The comment has been removedAnonymous
February 22, 2011
Its Me, As I explain in the post above, the DataVisualization assembly is compiled for Silverlight 3, Silverlight 4, WPF 3.5, and WPF 4, so you can pick the right binary for your application. If you're looking for tutorials and/or examples, I have a pretty extensive list of links here: http://cesso.org/r/DVLinks Hope this helps!Anonymous
June 04, 2011
Hi do anyone know how to display count Number on the part of one catelog on the chart?? Thank you~! :yurukai@hotmail.comAnonymous
June 04, 2011
Rukai, I don't think I understand your question. Do you have an example of what you're trying to do?Anonymous
September 13, 2011
Error 1 Unknown build error, 'Cannot resolve dependency to assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.' I am getting the above error when I run my Application. Can you please help me on this. Many Thanks KameshAnonymous
September 13, 2011
Kamesh, That error doesn't seem to have much to do with the Data Visualization assembly. This appears to be a Silverlight build question (version 2.0.5.0) - those are best asked on the Silverlight.net forums: http://forums.silverlight.net/Anonymous
September 21, 2011
Do you have plans for porting the DragDrop features for charts from the silverlight toolkit to wpf?Anonymous
September 21, 2011
Jordan, I don't know of any such plans, sorry!Anonymous
May 02, 2012
Hi David, Im trying to incorporate Cory Plott logarithmic Axis based on NumericAxis of WPF4. My project currently uses assembly for data visualization Toolkit v3.5 (Feb 2010). When I paste the logarithmic axis file to my project, it returns error because : protected override UnitValue GetPlotAreaCoordinate(object value, double length) { return GetPlotAreaCoordinate(value, ActualDoubleRange, length); } is not declared in v3.5 RangeAxis. Do you have any idea how to incorporate the library other than grouping the WPF4 sources code together with my project? Because current data visualization toolkit dll reference is already nice and portable for my project. Thanks!Anonymous
May 03, 2012
andre, You might want to check Cory's blog because it seems he's done this for a few different releases of the Data Visualization assembly: www.cplotts.com/.../wpf-silverlight-charting-a-logarithmic-axis The way I read that (and remember), he did implement this for the version you're using and maybe you can get that copy of the code and things will fit together nicely. Good luck - I hope this helps!Anonymous
June 07, 2012
Hi David, I am trying to add labels on this chart, just like the LabeledPieChart. bea.stollnitz.com/blog Could you help out ? forums.create.msdn.com/.../621979.aspx Can we port the charting solution so I can compile it in VS 2010 express? Thanks RohanAnonymous
June 08, 2012
Rohan, Everything you link to already works fine with the full versions of VS 2010 - what problem are you seeing trying to use VS 2010 Express?