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