ASP.NET MVC Spline Range Area Chart is used to display continuous data points as a set of splines 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, and pentagons. 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.
ASP.NET MVC Spline Range Area Chart can be transposed vertically to view the data from a different perspective.
Customize the color and border of ASP.NET MVC Spline Range Area Chart using built-in APIs.
Enable zooming and panning support when dealing with large amounts of data to visualize a data point in any region.
Easily get started with ASP.NET MVC Spline Range Area using a few simple lines of C# code, as demonstrated below. Also explore our ASP.NET MVC Spline Range Area Chart Example that shows you how to render and configure the spline range area chart component.
@Html.EJS().Chart("container").Series(series =>
{
series.Type(Syncfusion.EJ2.Charts.ChartSeriesType.SplineRangeArea).XName("x").YName("y").
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 { x= "South Korea", y= 39.4 },
new ChartData { x= "India", y= 61.3 },
new ChartData { x= "Pakistan", y= 20.4 },
new ChartData { x= "Germany", y= 65.1 },
new ChartData { x= "Australia", y= 15.8 },
new ChartData { x= "Italy", y= 29.2 },
new ChartData { x= "United Kingdom", y= 44.6 },
};
ViewBag.dataSource = chartData;
return View();
}
}
public class ChartData
{
public string x;
public double y;
}
Spline Range Area Chart User Guide
Learn the available options to customize ASP.NET MVC spline range area chart.