Example #1
0
        public ChartGaugeView(SolidColorBrush section1, SolidColorBrush section2, SolidColorBrush section3)
        {
            InitializeComponent();

            m_ViewModel = new ChartGaugeViewModel(section1, section2, section3);

            this.DataContext = m_ViewModel;
        }
Example #2
0
        public ChartGaugeView()
        {
            InitializeComponent();

            m_ViewModel = new ChartGaugeViewModel();

            this.DataContext = m_ViewModel;
        }