Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartNavigator{T}" /> class.
 /// </summary>
 public ChartNavigator(ViewContext viewContext, IUrlGenerator urlGenerator)
 {
     Series                   = new List <IChartSeries>();
     Select                   = new ChartDateSelection();
     Hint                     = new ChartNavigatorHint();
     UrlGenerator             = urlGenerator;
     ViewContext              = viewContext;
     DataSource               = new DataSource();
     DataSource.Schema.Data   = "";
     DataSource.Schema.Total  = "";
     DataSource.Schema.Errors = "";
     DataSource.ModelType(typeof(T));
 }
 public ChartDateSelectionSerializer(ChartDateSelection selection)
 {
     this.selection = selection;
 }
 public ChartDateSelectionSerializer(ChartDateSelection selection)
 {
     this.selection = selection;
 }