public ActionResult RadarPolarViews([Bind] ChartRadarPolarViewsDemoOptions options) { ViewData[ChartDemoHelper.OptionsKey] = options; object model; if (ChartDemoHelper.IsPolarView(options.View)) { model = MathematicsFunctions.GetLemniscatePoints(); } else { model = WeatherInLondon.GetTemperatureHistory(); } return(DemoView("RadarPolarViews", model)); }
public ActionResult RadarPolarViews() { ViewData[ChartDemoHelper.OptionsKey] = new ChartRadarPolarViewsDemoOptions(); return(DemoView("RadarPolarViews", WeatherInLondon.GetTemperatureHistory())); }
public ActionResult HitTesting() { return(DemoView("HitTesting", WeatherInLondon.GetWeatherHistory())); }