RadialGauge
RadialGauge
Overview
Features
Sample
Description
This sample shows the basic usage of the RadialGauge 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 RadialGaugeController : Controller
{
public ActionResult Index()
{
return View();
}
}
}
Index.cshtml
@(Html.C1().RadialGauge()
.Min(0).Max(10).Value(5)
.Width(300).Height(180)
.ShowText(ShowText.None)
)
@section Description{
@Html.Raw(Resources.RadialGauge.Index_Text0)
}
Documentation