Share via


Silverlight Charting remains just a click away - and runs on WPF, too!! [ChartBuilder sample and source code updated for Charting's March 09 release]

**

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
    March 20, 2009
    Thank you for submitting this cool story - Trackback from DotNetShoutout

  • Anonymous
    March 21, 2009
    I'm starting to use these chart controls to make some reports at work, and I've stumbled onto a weird bug, where I get a KeyNotFoundException when I attempt to update the Series.ItemsSource property. I've also noticed I see the same exception in your WPF version of ChartBuilder when you set the 1st series as a PieSeries and drag the number of series left and right. Any ideas where that comes from? I've worked around this problem in my code by re-creating the PieSeries instead of just updating its ItemsSource, but I wish I had a simpler solution.

  • Anonymous
    March 21, 2009
    abrien, I've been debugging this and I know why the exception happens in WPF Charting. For some reason that I don't understand yet, the DataPoint.State DependencyProperty is not getting updated when it should and so the DataPoints are all in the wrong states and code that assumes certain invariants ends up being wrong and throwing the exception you see. This may sound familiar - I believe it's exactly the same problem I call out in my post about new/old DataPoints not showing/hiding correctly. Okay, so this is good to know and I'll track down what's going wrong on WPF that the State property isn't behaving properly. So now I've got one very important question for you: In YOUR scenario are you using WPF Charting or Silverlight Charting? If you're using WPF Charting, then we know the problem and I'll sort it out more on Monday and hopefully give you a fix and sorry, but I did warn you that WPF Charting is completely untested. :) HOWEVER, if you're using Silverlight Charting and seeing this problem, then I would very much like to understand your scenario better because I doubt it's the same exact issue and it's seeming like something we've never seen before. (As you probably know, your ChartBuilder scenario works just fine for on Silverlight.) If you could please get back to me with the answer, I'd very much appreciate it! If it turns out to be a problem with Silverlight Charting, then I'll work with you to try to come up with a simplified demonstration of the problem that I'll be able to run and debug myself. Thank you very much for reporting this issue!

  • Anonymous
    March 22, 2009
    Update: Soon after turning off the computer, I figured out why the DependencyProperty isn't getting updated. I should be able to fix the WPF Charting issue on Monday and will post a new DLL. So the big remaining question is whether anyone is seeing this behavior with Silverlight Charting...

  • Anonymous
    March 23, 2009
    FYI, I have just fixed the issue and will blog more on this shortly. Thanks for your patience!

  • Anonymous
    March 25, 2009
    In my last post I described a few updates I made to my ChartBuilder sample/application/learning tool

  • Anonymous
    March 26, 2009
    El WPF Toolkit es una colección de componentes y características de WPF que complementan el .NET Framework.

  • Anonymous
    March 26, 2009
    Here’s the official word from the WPF Tree Services & Controls Team: We shipped some great new updates

  • Anonymous
    March 26, 2009
    In yesterday's post I updated the unsupported public build of WPF Charting . The WPF version of the System.Windows.Controls.DataVisualization.Toolkit.dll

  • Anonymous
    March 26, 2009
    Esto esta súper bueno, que lo disfruten aqui el detalle: “We shipped some great new updates to the WPF

  • Anonymous
    March 27, 2009
      Are you intrigued by multi touch? The Windows Engineering team just posted a great article on

  • Anonymous
    March 28, 2009
    Esto esta excelente, pruébenlo: “We shipped some great new updates to the WPF Toolkit and WPF Futures

  • Anonymous
    March 29, 2009
    L'équipe de Samantha Durante a profité de la realease de Mars des WPF Toolkit pour présenter les nouveaux

  • Anonymous
    April 09, 2009
    [ Note: this was written using Silverlight 3 Beta and the Silverlight 3 version of the Silverlight Toolkit

  • Anonymous
    May 12, 2009
    Let's imagine that we want to use Silverlight (or WPF!) to chart the performance of a book on one of

  • Anonymous
    June 13, 2009
    Following up on this post I thought the first control I’d build would be a graph control so I just referenced

  • Anonymous
    June 13, 2009
    Following on from this post . As expected, porting my Utilities library to WPF wasn’t too difficult.