Your search did not match any results.
Linear Gauge

Different Value Indicator Types

Documentation
This demo illustrates all the available value indicator types for the LinearGauge.
<div class="long-title"><h3>Available Disk Space</h3></div> @using DevExtreme.AspNet.Mvc.Builders; @functions { LinearGaugeBuilder CreateGauge() { return Html.DevExtreme().LinearGauge() .Scale(s => s .StartValue(0) .EndValue(100) .TickInterval(50) .Label(l => l.CustomizeText(@" function (arg) { return arg.valueText + "" % ""; } ")) ); } } <div id="gauge-demo"> @(CreateGauge() .ID("c1") .Value(75) .ValueIndicator(i => i .Type(GaugeIndicatorType.Rectangle) .Color("#9B870C") ) ) @(CreateGauge() .ID("c2") .Value(80) .ValueIndicator(i => i .Type(GaugeIndicatorType.Rhombus) .Color("#779ECB") ) ) @(CreateGauge() .ID("c3") .Value(65) .ValueIndicator(i => i .Type(GaugeIndicatorType.Circle) .Color("#8FBC8F") ) ) @(CreateGauge() .ID("c4") .Value(90) .ValueIndicator(i => i .Type(GaugeIndicatorType.RangeBar) .Color("#483D8B") ) ) @(CreateGauge() .ID("c5") .Value(70) .ValueIndicator(i => i .Type(GaugeIndicatorType.TextCloud) .Color("#734F96") ) ) @(CreateGauge() .ID("c6") .Value(85) .ValueIndicator(i => i .Type(GaugeIndicatorType.TriangleMarker) .Color("#f05b41") ) ) </div>
using DevExtreme.NETCore.Demos.Models.SampleData; using Microsoft.AspNetCore.Mvc; namespace DevExtreme.NETCore.Demos.Controllers { public class GaugesController : Controller { public ActionResult DifferentValueIndicatorTypesLinearGauge() { return View(); } } }
#gauge-demo { width: 100%; } #c1, #c2, #c3, #c4, #c5, #c6 { height: 110px; } #c5 { width: 107%; margin-left: -40px; } .long-title h3 { font-family: 'Segoe UI Light', 'Helvetica Neue Light', 'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana; font-weight: 200; font-size: 28px; text-align: center; margin-bottom: 20px; }