A view model to be used in conjunction with the LineChart control.
Inheritance: ViewModelBase
Exemplo n.º 1
0
        public LineChart()
        {
            ViewModel = new LineChartViewModel();

            YAxisLeftOffset = 14;
            AddedToVisualTree.SubscribeForLifetime(OnAddedToVisualTree, this.LifetimeManager);
            KeyInputReceived.SubscribeForLifetime(OnKeyInputReceived, this.LifetimeManager);
        }
Exemplo n.º 2
0
 public LineChart()
 {
     ViewModel = new LineChartViewModel();
     ViewModel.PropertyChanged += ViewModel_PropertyChanged;
     YAxisLeftOffset            = 14;
 }