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