Esempio n. 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));
 }
Esempio n. 2
0
 public ChartNavigatorHintSerializer(ChartNavigatorHint hint)
 {
     this.hint = hint;
 }