Your search did not match any results.
Bar Charts

Standard Bar

Documentation
This demo illustrates the ease with which you can create a bar chart.
@(Html.DevExtreme().Chart() .ID("chart") .Series(s => s .Add() .ArgumentField("Day") .ValueField("Oranges") .Name("My oranges") .Type(SeriesType.Bar) .Color("#ffaa66") ) .DataSource(new List<object> { new { Day = "Monday", Oranges = 3 }, new { Day = "Tuesday", Oranges = 2 }, new { Day = "Wednesday", Oranges = 3 }, new { Day = "Thursday", Oranges = 4 }, new { Day = "Friday", Oranges = 6 }, new { Day = "Saturday", Oranges = 11 }, new { Day = "Sunday", Oranges = 4 } }) )
using DevExtreme.AspNet.Data; using DevExtreme.AspNet.Mvc; using DevExtreme.MVC.Demos.Models; using DevExtreme.MVC.Demos.Models.SampleData; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Web.Mvc; namespace DevExtreme.MVC.Demos.Controllers { public class ChartsController : Controller { public ActionResult StandardBar() { return View(); } } }
#chart { height: 440px; }