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 BarViews([Bind] ChartBarViewsDemoOptions options)
        {
            ViewData[ChartDemoHelper.OptionsKey] = options;
            object model;

            if (ChartDemoHelper.IsSideBySideStackedView(options.View))
            {
                model = PopulationAgeProvider.GetPopulationAgeStructure();
            }
            else
            {
                model = GreatLakesStateProductProvider.GetGreatLakesStateProduct();
            }
            return(DemoView("BarViews", model));
        }