简体   繁体   English

在ASP.NET MVC4中添加动态图表

[英]Adding a dynamic chart in asp.net mvc4

I have an asp.net mvc4 application in which i have to add a gantt chart to manage tasks of my project . 我有一个asp.net mvc4应用程序,必须在其中添加甘特图来管理项目任务。 So i need a tool, component or a library whichi can do with it a chart like : the chart 所以我需要一个工具,组件或库,我可以用它来做像这样的图表:

I found many chart using web forms, but in my case (asp mvc) i didn't found. 我发现许多使用Web表单的图表,但在我的情况下(asp mvc)我没有找到。

So what component can i use? 那么我可以使用什么组件?

Give Google Charts a try. 试试看Google图表 Here's the library and API reference . 这是API参考

Its totally client side. 它完全是客户端。 So has no dependency on webforms or MVC. 因此不依赖于Webforms或MVC。 I have used them in my previous project and I have a positive feedback. 我在上一个项目中使用了它们,并获得了积极的反馈。

Not sure if has gantt chart though. 虽然不确定是否有甘特图。


Other gantt charts that will work for MVC: 其他适用于MVC的甘​​特图:

  1. http://mvc.syncfusion.com/demos/ui/chart/ChartType/AdvancedChartType http://mvc.syncfusion.com/demos/ui/chart/ChartType/AdvancedChartType
  2. http://demos.radiantq.com/jQueryGanttDemo/Demo.htm http://demos.radiantq.com/jQueryGanttDemo/Demo.htm
  3. http://mvc.daypilot.org/demo/Scheduler/Gantt http://mvc.daypilot.org/demo/Scheduler/Gantt

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM