Two birds, squared! [Silverlight/WPF Data Visualization Development Release 3 and a DataVisualizationDemos update]
**
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
January 12, 2010
Hi I am getting AG_E_UNKNOWN_ERROR while loading chart series. Initially i have used July 2009 version of data visualization toolkit. Chart was loaded properly in my page .But Now i want to use November 2009 version . If i use that i am getting AG_E_UNKNOWN_ERROR which is pointing to my XAML file . Could you please help me to resolve this issue? Thanks In Advance, SivaAnonymous
January 12, 2010
Siva, Please go ahead and contact me via the email link in the sidebar so we can exchange email. Without seeing any of the code involved, I'm afraid my ability to troubleshoot this is rather limited. :) That said, my guess would be that perhaps you're using some feature that's changed between the two releases - if I had to guess further, I'd say that maybe your code wasn't updated to account for the name changes from Chart.StylePalette->Palette and class StylePalette->ResourceDictionaryCollection. I discuss these - and other breaking changes - in my release notes which are always available from my charting links page: http://cesso.org/r/DVLinks Hope this helps!Anonymous
May 25, 2010
The comment has been removedAnonymous
May 26, 2010
kmkuntz, DataPointSeriesDragDropTarget has actually never been part of my Data Visualization Development Releases because it requires additional code outside the Data Visualization assembly that isn't currently self-contained for Silverlight or tested on WPF. However, that class can still be found in its usual location in the Silverlight Toolkit's official Data Visualization assembly if you'd like to use it. :)Anonymous
October 13, 2010
The comment has been removedAnonymous
October 13, 2010
Joe, It sounds like you copied that XAML from my ChartBuilder sample (more information: blogs.msdn.com/.../click-your-way-to-great-silverlight-charts-live-chartbuilder-sample-and-source-code.aspx). In that case, the ObservableObjectCollection reference is to a class that's part of the ChartBuilder assembly and that's why it's not resolving successfully in your application. All it really is is a trivial subclass of ObservableCollection<object>, so it'll probably be easiest for you to just create a subclass of that in your project and reference that instead. Hope this helps!Anonymous
November 08, 2010
The comment has been removedAnonymous
November 08, 2010
Andy, Sorry, I don't think I understand the question. A pre-compiled version of the Silverlight/WPF Toolkit's DataVisualization assembly specifically targetting WPF 4 can be found inside the ZIP linked to by the post above: cesso.org/.../SilverlightWpfDataVisualization.zip. I hope that's what you're looking for!Anonymous
November 12, 2010
The comment has been removedAnonymous
November 12, 2010
Srini, Removing the SeriesDefinition from the StackedSeries's SeriesDefinitions collection (and adding it back when you want it to display again) is probably what you want to do here.Anonymous
November 14, 2010
Delay, Thanks for the prompt reply. Let me try that and I'll let you know how it worked for me.Anonymous
November 15, 2010
The comment has been removedAnonymous
November 16, 2010
Srini, Yes, that's the way to remove a SeriesDefinition from the collection. I'm not sure I understand your scenario, but here's an alternate approach: set the DataPointStyle of the SeriesDefinition you want to hide to a custom Style that defines an empty Template. This should immediately be applied to each of the relevant DataPoints and they should disappear. When you want them to come back, just do a ClearValue on that same DataPointStyle property and the DataPoints should come back. :) Hope this helps!Anonymous
November 16, 2010
Yup, that worked. Thanks for pointing in the right direction. This is what I did:
Style style = new Style(typeof(Control)); Setter st1 = new Setter(Control.OpacityProperty,0); style.Setters.Add(st1); ((StackedBarSeries)this.chrtXXX.Series[0]).SeriesDefinitions[0].DataPointStyle = style;
- Anonymous
November 23, 2011
The data Visulization of silverlight post very useful for the visulizing the data from the database. i like this post.