摘要: 单击按钮显示图表时,动态生成图表。见自带的示例中的Gallery->Animation->Animation Themes首先引用using Dundas.Charting.WebControl;然后在按钮单击事件中添加 下面两句即可// Set Flash chart image type Chart1.ImageType = ChartImageType.Flash; // Set animation theme 还有另外几种主题可选 Chart1.AnimationTheme = AnimationTheme.GrowingAndFading; // Adjust the d 阅读全文
posted @ 2011-08-18 14:21 北冥子 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 见Dundas自带的Chart Features->Axis->Scrolling and zooming示例,首先引用下面语句using Dundas.Charting.WebControl;...若在自己的代码中若是单击按钮后显示图表,则将里面的代码写到按钮事件中private void Page_Load(object sender, System.EventArgs e){ // scrolling and zooming will force keeping of series data between callbacks. this.Chart1.ChartAreas[ 阅读全文
posted @ 2011-08-18 13:47 北冥子 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 在CustomCommand.js中InfoCommand.prototype.Execute = function() { this.CreateUrl();// this.AddParamToUrl("PixelTolerance", this.pixelTolerance);//原来这句指定了有效范围,默认值为6,选择时很难选中图元 this.AddParamToUrl("PixelTolerance", 18);//此时将范围改为18,选择图元时就比较好选了 阅读全文
posted @ 2011-08-18 09:21 北冥子 阅读(167) 评论(0) 推荐(0) 编辑