Cleaned up some parts of MainWindow.xaml.cs as I was trying to improve on the solution of restoring the LegendView on startup. Added Chart property to IChartView to easily retrieve the BaseChart component on it. LegendController updates the LegendView if a IChartView is selected. Related to Issue [WTI-272]