Your search did not match any results.
Area Charts

Spline Area

Documentation
Spline area series, like area series, are used to clearly emphasize change in values. However, spline area series help "smooth" individual lines that connect data points. In this example, you can switch between the spline area, stacked spline area and full-stacked spline area series types. Stacked spline area series help visualize multiple series and compare the manner in which each series contributes to the total aggregate value for specific arguments. Full-stacked spline area series help compare the percentage value of multiple spline area series for each argument.
www.geohive.com
<div id="chart-demo"> @(Html.DevExtreme().Chart() .ID("spline-area-chart") .Palette(VizPalette.HarmonyLight) .Title("Corporations with Highest Market Value") .CommonSeriesSettings(s => s .ArgumentField("Company") .Type(SeriesType.SplineArea) ) .ArgumentAxis(a => a.ValueMarginsEnabled(false)) .Margin(m => m.Bottom(20)) .Series(s => { s.Add().ValueField("Y2005").Name("2005"); s.Add().ValueField("Y2004").Name("2004"); }) .Export(e => e.Enabled(true)) .Legend(l => l .VerticalAlignment(VerticalEdge.Bottom) .HorizontalAlignment(HorizontalAlignment.Center) ) .DataSource(new List<object> { new { Company = "ExxonMobil", Y2005 = 362.53, Y2004 = 277.02 }, new { Company = "GeneralElectric", Y2005 = 348.45, Y2004 = 328.54 }, new { Company = "Microsoft", Y2005 = 279.02, Y2004 = 297.02 }, new { Company = "Citigroup", Y2005 = 230.93, Y2004 = 255.3 }, new { Company = "Royal Dutch Shell plc", Y2005 = 203.52, Y2004 = 173.54 }, new { Company = "Procted & Gamble", Y2005 = 197.12, Y2004 = 131.89 } }) ) <div class="options"> <div class="caption">Options</div> <div class="option"> <span>Series Type</span> @(Html.DevExtreme().SelectBox() .DataSource(new[] { SeriesType.SplineArea, SeriesType.StackedSplineArea, SeriesType.FullStackedSplineArea }) .Value(SeriesType.SplineArea) .OnValueChanged(@<text> function(e) { $("#spline-area-chart").dxChart("option", "commonSeriesSettings.type", e.value); } </text>) ) </div> </div> </div>
using DevExtreme.AspNet.Data; using DevExtreme.AspNet.Mvc; using DevExtreme.NETCore.Demos.Models; using DevExtreme.NETCore.Demos.Models.SampleData; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using System; using System.Collections.Generic; namespace DevExtreme.NETCore.Demos.Controllers { public class ChartsController : Controller { public ActionResult SplineArea() { return View(); } } }
.options { padding: 20px; background-color: #f5f5f5; margin-top: 20px; } .option { margin-top: 10px; } .caption { font-size: 18px; font-weight: 500; } .option > span { margin-right: 10px; } .option > .dx-widget { display: inline-block; vertical-align: middle; }