private ChartValues <double> GetChartValues() { List <employee> employees = dataHandler.GetEntities().employee.ToList(); return(employees.Select(v => Orders.Aggregate <order, double>(0, (a, c) => c.employee_id == v.Id ? a + c.paid_price : a)).AsChartValues()); }