We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback


Overview

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.


Marker

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 label

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.


Empty/null data points

Handle missing data elegantly with empty points support.


Vertical charts

The ASP.NET MVC Range Step Area Chart can be transposed vertically to view data from a different perspective.


Customization

Customize the color and border of the ASP.NET MVC Range Step Area Chart using built-in APIs.


Zoom and pan

Enable zooming and panning support when dealing with large amounts of data to visualize data points in any region.


ASP.NET MVC Range Step Area Chart code example

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;
      }

Learning Resources

UG

Range Step Area Chart User Guide

Learn the available options to customize ASP.NET MVC Range Step Area Charts.

API

Range Step Area Chart API Reference

Explore the ASP.NET MVC Range Step Area Chart APIs.


85+ ASP.NET MVC UI CONTROLS

Scroll up icon