示例#1
0
 public ChartVM()
 {
     Command   = new ChartCommand(this);
     ChartM    = new ChartModel();
     Medicines = new ObservableCollection <string>(ChartM.GetAllMedicinesNames());
     KeyValues = new ObservableCollection <KeyValuePair <string, int> >(ChartM.GetStatistic(DateStart, DateFinish));
 }