0
如何用剃刀製作圖表? 儘量選用局部視圖(_Chart.cshtml):無法用剃刀製作圖表
@{
var usdChart = new Chart(width: 600, height: 400)
.AddTitle("Заголовок")
.AddSeries(
name: "USD",
xValue: new[] { "1", "2", "3", "4" },
yValues: new[] { "11", "22", "33", "44" })
.Write();
}
,並考慮:
<img src="@Html.Partial("_Chart")"/>
但它不工作。