Exemplo n.º 1
0
 public Chart(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
     : base(viewContext, initializer)
 {
     UrlGenerator             = urlGenerator;
     Title                    = new ChartTitle();
     ChartArea                = new ChartArea();
     PlotArea                 = new PlotArea();
     Legend                   = new ChartLegend();
     Series                   = new List <IChartSeries>();
     Panes                    = new List <ChartPane>();
     CategoryAxes             = new List <IChartCategoryAxis>();
     ValueAxes                = new List <IChartValueAxis>();
     XAxes                    = new List <IChartValueAxis>();
     YAxes                    = new List <IChartValueAxis>();
     SeriesDefaults           = new ChartSeriesDefaults <T>();
     AxisDefaults             = new ChartAxisDefaults <T>(this);
     Tooltip                  = new ChartTooltip();
     Transitions              = true;
     DataSource               = new DataSource();
     DataSource.Schema.Data   = "";
     DataSource.Schema.Total  = "";
     DataSource.Schema.Errors = "";
     DataSource.ModelType(typeof(T));
 }
Exemplo n.º 2
0
 public ChartTitleSerializer(ChartTitle title)
 {
     this.title = title;
 }
Exemplo n.º 3
0
 public ChartTitleSerializer(ChartTitle title)
 {
     this.title = title;
 }