LinearGauge
Overview
This sample shows the basic usage of the LinearGauge control.
Features
Description
This sample shows the basic usage of the LinearGauge control.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace MvcExplorer.Controllers { public partial class LinearGaugeController : Controller { public ActionResult Index() { return View(); } } } |
1 2 3 4 5 6 7 8 9 | @ (Html.C1().LinearGauge() .Face(fb => fb.Min(0).Max(10)) .Pointer(pb => pb.Max(5)) .Width(500) ) @section Description{ @Html .Raw(Resources.LinearGauge.Index_Text0) } |