Your search did not match any results.
Bar Gauge

Tooltip

Documentation
This demo shows how to enable and customize tooltips in the the BarGauge widget. A tooltip is a small pop-up rectangle that displays the value of the bar that is currently hovered over. To enable the tooltips, the enabled option is set to true. The text displayed by the tooltips is customized using the customizeText option.
@(Html.DevExtreme().BarGauge() .ID("gauge") .StartValue(0) .EndValue(200) .Values(new[] { 121.4, 135.4, 115.9, 141.1, 127.5 }) .Label(l => l.Visible(false)) .Tooltip(t => t .Enabled(true) .CustomizeTooltip(@<text> function (arg) { return { text: "Racer " + (arg.index + 1) + " - " + arg.valueText + " km/h" }; } </text>) ) .Export(e => e.Enabled(true)) .Title(t => t .Text("Average Speed by Racer") .Font(f => f.Size(28)) ) )
using DevExtreme.NETCore.Demos.Models.SampleData; using Microsoft.AspNetCore.Mvc; namespace DevExtreme.NETCore.Demos.Controllers { public class GaugesController : Controller { public ActionResult Tooltip() { return View(); } } }
#gauge { height: 440px; width: 100%; }