Beispiel #1
0
 public MvvmBar()
 {
     InitializeComponent();
     Sales                            = new SalesViewModel();
     Chart.DataContext                = Sales.Salesmen;
     SecondaryAxis.DataContext        = Sales.AvailableMonths;
     Chart.PrimaryAxis.LabelFormatter = x => x + ".00k items";
 }
Beispiel #2
0
 public MvvmBar()
 {
     InitializeComponent();
     Sales       = new SalesViewModel();
     DataContext = this;
     Chart.AxisY.LabelFormatter = x => x + ".00k items";
     Chart.DataTooltip          = new SalesTooltip();
 }
Beispiel #3
0
 public MvvmBar()
 {
     InitializeComponent();
     Sales = new SalesViewModel();
     DataContext = this;
     YFormatter = x => x + ".00k items";
     Chart.DataTooltip = new SalesTooltip();
 }
Beispiel #4
0
 public MvvmBar()
 {
     InitializeComponent();
     Sales = new SalesViewModel();
     Chart.DataContext = Sales.Salesmen;
     SecondaryAxis.DataContext = Sales.AvailableMonths;
     Chart.PrimaryAxis.LabelFormatter = x => x + ".00k items";
 }