4、s;using System.Drawing;using ZedGraph;using ZedGraph.Web;using System.Collections.Generic;/**//// /// 显示统计图形类型/// public enum AnalyticsType...{ Line, //折线图 Bar, //柱状图 Pie //饼图};public partial class DrawGrap : System.Web.UI.U
5、serControl...{ Private Attribute#region Private Attribute /**//// /// 默认颜色种类 /// private List defaultColors = new List(); /**//// /// 统计的个数 /// private int Count; #endregion
6、 Public Property#region Public Property /**//// /// 统计图的名称 /// public string Title; /**//// /// 横轴的名称(饼图不需要) /// public string XAxisTitle; /**//// /// 纵轴的名称(饼图不需要) ///
7、ry> public string YAxisTitle; /**//// /// 显示的曲线类型:Line,Bar,Pie /// public AnalyticsType Type; /**//// /// 折线图和柱状图的数据源 /// public List DataSource = new List();
8、/**//// /// 饼图的数据源 /// public List ScaleData = new List(); /**//// /// 各段数据的颜色 /// public List