Ejemplo n.º 1
0
        public ActionResult RangeViews()
        {
            ChartViewTypeDemoOptions options = new ChartViewTypeDemoOptions();

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