The ASP.NET MVC Range Step Area Chart is used to display continuous data points as a set of steps that vary between high and low values over intervals of time and across different categories.
Mark data points with built-in shapes: circles, rectangles, ellipses, vertical lines, horizontal lines, diamonds, triangles, pentagons, crosses, and pluses. In addition to these shapes, use images to make the points more attractive.
Data labels display information about data points. Add a template to display data labels with HTML elements such as images, DIV, and spans for more informative data labels. You can rotate a data label by a given angle.
Handle missing data elegantly with empty points support.
The ASP.NET MVC Range Step Area Chart can be transposed vertically to view data from a different perspective.
Customize the color and border of the ASP.NET MVC Range Step Area Chart using built-in APIs.
Enable zooming and panning support when dealing with large amounts of data to visualize data points in any region.
Easily get started with ASP.NET MVC Range Step Area using a few simple lines of C# code, as demonstrated below. Also explore our ASP.NET MVC Range Step Area Chart Example that shows you how to render and configure the range step area chart component.
@Html.EJS().Chart("container").Series(series =>
{
series.Type(Syncfusion.EJ2.Charts.ChartSeriesType.RangeStepArea).XName("x").high("high").low("low").
DataSource(ViewBag.dataSource).Add();
}).PrimaryXAxis(px => px.ValueType(Syncfusion.EJ2.Charts.ValueType.Category)).Render();
public class HomeController : Controller
{
public ActionResult Index()
{
List<ChartData> chartData = new List<ChartData>
{
new ChartData { xValue = "2014", high = 21, low = 15 },
new ChartData { xValue = "2015", high = 24, low = 15 },
new ChartData { xValue = "2016", high = 36, low = 15 },
new ChartData { xValue = "2017", high = 38, low = 15 },
new ChartData { xValue = "2018", high = 54, low = 15 },
new ChartData { xValue = "2019", high = 57, low = 15 },
new ChartData { xValue = "2020", high = 70, low = 15 }
};
ViewBag.dataSource = chartData;
return View();
}
}
public class ChartData
{
public string x;
public double y;
}
Range Step Area Chart User Guide
Learn the available options to customize ASP.NET MVC Range Step Area Charts.
Range Step Area Chart API Reference
Explore the ASP.NET MVC Range Step Area Chart APIs.