I have a radio button
1. Pie
2. Bar
3. Line
And a canvas in the MainWindow. When the particular radio button is clicked the respective child controls my be visible in Canvas.
PieChart, BarChart and LineChart are UserControls.
I am using MVVM, .NET 4.5.