chart control helper in MVC

可紊 提交于 2020-01-17 03:23:09

问题


when using the chart helper in MVC5, how can I set properties that are hidden from the "original" Web.UI. chart control? Is the helper only a small subset or is there a way to assign it with themes? Some properties like BackImage can be set via template like shown here: similar question

When should I use normal Control and when helper?

this is the "classic" way in the controller:

 var myChartBack = new System.Web.UI.DataVisualization.Charting.Chart();
 myChartBack.BackImage = "/Pics/Pic.jpg";
 myChartBack.XY=Z (FullFeatureSetofControl etc.)
 [...]

来源:https://stackoverflow.com/questions/35105015/chart-control-helper-in-mvc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!