BulletGraph
BulletGraph
Overview
Features
Sample
Description
This sample shows the basic usage of the BulletGraph control.
Source
IndexController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace MvcExplorer.Controllers { public partial class BulletGraphController : Controller { public ActionResult Index() { return View(); } } }
Index.cshtml
@(Html.C1().BulletGraph() .Min(0).Max(10).Good(3) .Bad(4).Value(5).Target(6) .Width(500) ) @section Description{ @Html.Raw(Resources.BulletGraph.Index_Text0) }
Documentation