您的位置:首页 > 其它

用Flash方式动态生成图表

2011-08-18 14:21 375 查看
单击按钮显示图表时,动态生成图表。

见自带的示例中的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 duration of the animation调整每帧播放时间
Chart1.AnimationDuration = 7;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: