Exemple #1
0
        public ActionResult RangeViews()
        {
            ChartViewTypeDemoOptions options = new ChartViewTypeDemoOptions();

            options.View = DevExpress.XtraCharts.ViewType.RangeBar;
            ViewData[ChartDemoHelper.OptionsKey] = options;
            return(DemoView("RangeViews", OilPricesProvider.GetOilPrices()));
        }
Exemple #2
0
 public ActionResult RangeViews([Bind] ChartViewTypeDemoOptions options)
 {
     ViewData[ChartDemoHelper.OptionsKey] = options;
     return(DemoView("RangeViews", OilPricesProvider.GetOilPrices()));
 }