public ActionResult Index()
 {
     this.ViewData["Chart1"] = ChartModel.GenerateData();
     this.ViewData["Chart2"] = ChartModel.GenerateData();
     this.ViewData["Chart3"] = ChartModel.GenerateData();
     return(View());
 }
 public StoreResult GetData()
 {
     return(new StoreResult(new
     {
         Chart1 = ChartModel.GenerateData(),
         Chart2 = ChartModel.GenerateData(),
         Chart3 = ChartModel.GenerateData()
     }));
 }
Exemple #3
0
 public ActionResult Index()
 {
     return(View(ChartModel.GenerateData(6)));
 }
Exemple #4
0
 public StoreResult GetData()
 {
     return(new StoreResult(ChartModel.GenerateData(6)));
 }