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() })); }
public ActionResult Index() { return(View(ChartModel.GenerateData(6))); }
public StoreResult GetData() { return(new StoreResult(ChartModel.GenerateData(6))); }