Silverlight (and WPF) Data Visualization classes unsealed [Silverlight Toolkit October 2009 release now available!]
**
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
November 25, 2009
The comment has been removedAnonymous
November 25, 2009
rjb4standards, I'm sorry to hear that. :( I've just tried from home and work and that link/page loads successfully for me. Have you tried Ctrl+F5 or clearing your browser cache? Have you tried a different browser? Do you have Silverlight 3 installed? Have you tried reinstalling it? Are you behind a restrictive firewall? Have you tried looking at the network traffic with something like Fiddler? I've just done a web search for "could not download the silverlight application" and the hits I see there say it's due to a server misconfiguration. But because we've used this server for many months and because it's working for me, I'm thinking the server is doing the right thing here. I'd recommend running through the questions I ask above and seeing if maybe one of them helps sort this out...Anonymous
February 01, 2012
Hi David! In regards how Palette vs series's DataPointStyle works, I have an issue which I am describing on a post on stackoverflow: stackoverflow.com/.../implicity-style-for-bardatapoint-is-not-applied Basically, what I am saying is that, based on my finding, it's not possible to change the datatpoint template of a series and still keep the palette working. I am talking about a solution which will work for all scenarios including when a Chart has several kind of series. Can you please take a look? Thanks!!!Anonymous
February 02, 2012
Andrei, It's been a while since I looked at this stuff, but here are a couple of ideas:
- Make sure you're using the latest code. I suspect you are, but it's worth a try if not.
- The lookup logic for DataPoint styles should be smart enough to ignore things that don't match, so it's possible to provide separate templates for BarDataPoint/ColumnDataPoint/etc. in the same place and the relevant ones will be selected as needed.
- When you're trying implicit styles, try providing them on the Chart inself in the defining control (just for experimentation). There's some magic handling of the ResourceDictionary, but I'm not sure it's enough to make it work the way you're trying.
- Try the Compatible series, too, as there's a small chance they'll work better for your scenario.
- If nothing else is working, the trick of referencing the same template from multiple pallette entries I show at blogs.msdn.com/.../chart-tweaking-made-easy-how-to-make-four-simple-color-tooltip-changes-with-silverlight-wpf-charting.aspx may be useful here. Hope this helps!
- Anonymous
February 05, 2012
The comment has been removed - Anonymous
February 06, 2012
Andrei, I think I understand what you're trying to do and I agree it should be easy - I'm just not sure it is. :| The one idea i had just now was to try changing the palettes being used to not include a DataPointStyle entry. That should prevent the Series from assigning one which will leave that property on the DataPoint instances without a local value - and that should allow an implicit style to flow in and be applied as you suggest above. While it's true the default palette doesn't behave this way, you could ensure all of your palettes did - and it seems like this would cleanly separate the colors from the styling. If it works... :)