Exemplo n.º 1
0
        public ChartGraphicsView(Model.Well well, SeriesInfoCollection series)
        {
            InitializeComponent();

            viewModel   = new ChartGraphicsViewModel(this, well, series);
            DataContext = viewModel;
        }
Exemplo n.º 2
0
 public ChartGraphicsView()
 {
     InitializeComponent();
     viewModel   = new ChartGraphicsViewModel(this);
     DataContext = viewModel;
     MainChart.AxisY.CollectionChanged += OnAxisYCollectionChanged;
 }