fork from rev 97971 of modernui charts

WPF only and targets .NET40
Remove dead/unused variable and code
Bug in pie charts (issue 17204) in Codeplex
An alternative to handle series with 1 non null values and all values null
Remove dead code
add comments
Merge remote-tracking branch 'origin/master'