public ActionResult AreaViews([Bind] ChartShowLabelsDemoOptions options)
        {
            ViewData[ChartDemoHelper.OptionsKey] = options;
            object data;

            switch (options.View)
            {
            case DevExpress.XtraCharts.ViewType.FullStackedArea:
            case DevExpress.XtraCharts.ViewType.FullStackedArea3D:
            case DevExpress.XtraCharts.ViewType.FullStackedSplineArea:
            case DevExpress.XtraCharts.ViewType.FullStackedSplineArea3D:
                data = ArchitectureProvider.GetArchitecturesValues();
                break;

            case DevExpress.XtraCharts.ViewType.StackedArea:
            case DevExpress.XtraCharts.ViewType.StackedArea3D:
            case DevExpress.XtraCharts.ViewType.StackedSplineArea:
            case DevExpress.XtraCharts.ViewType.StackedSplineArea3D:
                data = GreatLakesStateProductProvider.GetGreatLakesStateProduct();
                break;

            default:
                data = CorporationsMarketValueProvider.GetCorporationsMarketValue();
                break;
            }
            return(DemoView("AreaViews", data));
        }
 public ActionResult AreaViews() {
     ChartShowLabelsDemoOptions options = new ChartShowLabelsDemoOptions();
     options.ShowLabels = true;
     options.View = DevExpress.XtraCharts.ViewType.Area;
     ViewData[ChartDemoHelper.OptionsKey] = options;
     return DemoView("AreaViews", CorporationsMarketValueProvider.GetCorporationsMarketValue());
 }
        public ActionResult AreaViews()
        {
            ChartShowLabelsDemoOptions options = new ChartShowLabelsDemoOptions();

            options.ShowLabels = true;
            options.View       = DevExpress.XtraCharts.ViewType.Area;
            ViewData[ChartDemoHelper.OptionsKey] = options;
            return(DemoView("AreaViews", CorporationsMarketValueProvider.GetCorporationsMarketValue()));
        }