【发布时间】:2014-09-25 19:43:49
【问题描述】:
我正在尝试在 MVC 图表助手中创建一个绘图样式为多边形而不是圆形的雷达图表,但我在其中的任何地方都找不到 AreaDrawingStyle。
我知道在常规的 ASP 图表控件中我可以做到:
chart1.Series["Default"]["AreaDrawingStyle"] = "Polygon";
但在我的 MVC 代码中,我有:
Chart myChart = new Chart(width: 600, height: 400)
.AddTitle("Chart Title")
.AddSeries(
name: "Employee",
chartType: "Radar",
xValue: new[] { "Peter", "Andrew", "Julie", "Mary", "Dave" },
yValues: new[] { "20", "60", "41", "55", "33" });
有人知道在哪里可以找到吗?我搜索了很多地方,但我很难找到有关这种特定类型图表的具体细节。
【问题讨论】:
标签: asp.net-mvc mschart