asp.net图表宽度与表td相同 [英] asp.net chart width to be same as table td

查看:131
本文介绍了asp.net图表宽度与表td相同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在表中有一些.net 4的图表控件.
有没有一种方法可以将图表宽度设置为与特定图表所在的表的td相同?
这是因为,当屏幕为宽屏时,表格会填满屏幕,但图表会以较小的静态宽度显示

谢谢
Joe



i have some chart controls of .net 4 in a table.
is there a way to set the chart width same as the td of the table in which that particular chart resides?
this is because, when the screen is a widescreen, the table fills the screen but the charts are in a static smaller width

thanks
Joe

推荐答案

我不太确定,但是请检查图表是否呈现为图像.是的,您可以放置​​< td>的align ="center"属性.这样可以使图像居中,但我不知道是否可以将图像拉伸.
I am not very sure, but check if the chart is being rendered as an image. Is so, you can put the align="center" property of <td>. That would center the image, but I don''t know if we can stretch the image across.


这篇关于asp.net图表宽度与表td相同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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