Hi,
when I set chartGraph.Legend.Visible to true I get warning in my console. How can I fix this problem?
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='LegendBorderBrush'System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='LegendBorderSecondaryBrush'
Thanks for helping!
Gawain
The legend should be visible by default, without having to set Visible to true. I'm not seeing any warning when I set it to either true of false. Are you getting those in the designer? Can you provide a more complete code sample?
I found out it has something to do with the theme.
chartGraph.Theme = "Neon";chartGraph.Legend.Visible = true;
When I don't set the Theme, the message does not appear. It comes with all themes I've tested...
Do you have any idea?
Sorry, wasn't that clear in my words I guess. I'm also getting this chart, but in my Console I get the messages I wrote above.
By "Console" do you mean the Output window, or are you running a console application? I think it'll be easier to debug this if you attached a sample project.
By "Console" I mean the debug output window of my Visual Studio.
My debug output window didn't contain any resource-related warnings. What build of the Infragistics controls are you using?
I have the latest service release installed: NetAdvantage_WPF_20103.2164_SR