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?