C# Class XamarinCRM.Services.ChartDataService

Inheritance: IChartDataService
Datei anzeigen Open project: xamarin/app-crm

Public Methods

Method Description
ChartDataService ( ) : System
GetCategorySalesDataPointsAsync ( IEnumerable orders, int numberOfWeeks = defaultNumberOfWeeks, OrderStatusOption statusOption = OrderStatusOption.Both ) : CategorySalesDataPoint>>>.Task
GetWeeklySalesDataPointsAsync ( IEnumerable orders, int numberOfWeeks = defaultNumberOfWeeks, OrderStatusOption statusOption = OrderStatusOption.Both ) : Task>

Private Methods

Method Description
GetOrderTotalForPeriod ( IEnumerable orders, System.DateTime dateStart, System.DateTime dateEnd, OrderStatusOption statusOption = OrderStatusOption.Both ) : double

Method Details

ChartDataService() public method

public ChartDataService ( ) : System
return System

GetCategorySalesDataPointsAsync() public method

public GetCategorySalesDataPointsAsync ( IEnumerable orders, int numberOfWeeks = defaultNumberOfWeeks, OrderStatusOption statusOption = OrderStatusOption.Both ) : CategorySalesDataPoint>>>.Task
orders IEnumerable
numberOfWeeks int
statusOption OrderStatusOption
return CategorySalesDataPoint>>>.Task

GetWeeklySalesDataPointsAsync() public method

public GetWeeklySalesDataPointsAsync ( IEnumerable orders, int numberOfWeeks = defaultNumberOfWeeks, OrderStatusOption statusOption = OrderStatusOption.Both ) : Task>
orders IEnumerable
numberOfWeeks int
statusOption OrderStatusOption
return Task>