且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在C#中执行SQL查询后从数据表列实现饼图或条形图

更新时间:2021-11-13 02:18:28

请参阅:获取图表控件 [ ^ ]

或者如果你想创建自己的控件:使用C#.NET中的图形创建饼图 [ ^ ]

甚至可以做一些在datagridview本身中绘制图表,请参阅CodeProject文章:使用C#的DataGridView甘特图样式表WinForm [ ^ ]
See: Getting Started with Chart Controls[^]
Or if you want to create your own control: Create Pie Chart Using Graphics in C# .NET[^]
It's even possible to do some charting in the datagridview itself, see CodeProject article: DataGridView Gantt Style Chart Using C# WinForm [^]