public CpuAndMemoryChart() { InitSeries(); InitAxes(); AddedToVisualTree.SubscribeForLifetime(OnAddedToVisualTree, this.LifetimeManager); }