在Asp.net中自定义图表控件 [英] Customizing Chart Control in Asp.net

查看:85
本文介绍了在Asp.net中自定义图表控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

有什么方法可以显示具有自定义时间间隔且不是从0开始的Y值的折线图.

例如我的值是从20000到25000,所以我希望间隔从20000开始.所以间隔就像20000,21000,22000,23000,24000&25000,而不是0,5000,10000,15000,20000,25000

预先感谢.

Hi there,

Is there any way to display line chart with the Y values with customized intervals and not starting from 0.

For Eg. I''ve values from 20000 to 25000 so I want intervals starting from 20000. so intervals are like 20000,21000,22000,23000,24000 & 25000, instead of 0,5000,10000,15000,20000,25000

Thanks in advance.

推荐答案

尝试以下操作:
Highcharts演示库
使用C#为WebForms创建折线图.
Try following:
Highcharts Demo Gallery
Creating Line Chart For WebForms Using C#.


Chart.ChartAreas.AxisY.IsStartedFromZero = false;



看看是否有帮助!

还可以在论坛上阅读问题

http://social.msdn.microsoft.com/Search/zh-CN/netframework?query=y%20axis&rn=.NET Framework论坛的图表控件& rq = meta:Search.MSForums.ForumID(1f1c3c1b-2ead- 47c9-bd27-883e86ed067e)网站:microsoft.com& beta = 0& ac = 8



see if that helps !

also read questions on forum

http://social.msdn.microsoft.com/Search/en-US/netframework?query=y%20axis&rn=Chart Controls for .NET Framework Forum&rq=meta:Search.MSForums.ForumID(1f1c3c1b-2ead-47c9-bd27-883e86ed067e) site:microsoft.com&beta=0&ac=8


这篇关于在Asp.net中自定义图表控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆