ChartControl 图标控件有很多种类,以前使用过SwiftPlotDiagram类型 做过实时数据显示,感觉非常好用。
一般的图表显示,要么是那种折线,柱状图,饼图等。来看看饼图是怎么使用的。 上图先:
它也可以显示成3D形式的,具体就不再说了。绑定到它的数据源的方式有很多种 List,Array,DataTable,Xml格式等。例子中使用的List
/// <summary>
/// 集合类
/// </summary>
public class RecordList : System.Collections.CollectionBase
{
public RecordData this[int index]