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