BulletGraph
概要
機能
サンプル
説明
このサンプルは、BulletGraph コントロールの基本的な使用方法を示します。
ソース
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)
}
マニュアル