Your search did not match any results.

Gauge Title Customized

Documentation

This demo shows how to specify and customize the CircularGauge title using the options of the title configuration object.

@(Html.DevExtreme().CircularGauge() .ID("gauge") .Scale(s => s .StartValue(0) .EndValue(10) .TickInterval(2) ) .Value(7) .Title(t => t .Text("Amount of Produced Gold (Kilos)") .HorizontalAlignment(HorizontalAlignment.Center) .VerticalAlignment(VerticalEdge.Bottom) .Font(f => f .Size(30) .Color("#CFB53B") ) .Margin(m => m .Top(25) ) ) )
using DevExtreme.NETCore.Demos.Models.SampleData; using Microsoft.AspNetCore.Mvc; namespace DevExtreme.NETCore.Demos.Controllers { public class GaugesController : Controller { public ActionResult GaugeTitleCustomized() { return View(); } } }
#gauge { height: 440px; width: 100%; }