开发者

Microsoft Chart Controls: how to set chart width to width of surrounding div?

Is it possible that a chart's width is inherited from its surrounding div? How to do this (in the C# code behind or the ASP code)开发者_如何学编程?


I don't believe you can inherit the charts width from a Div, I'd set both using the codebehind.

You'll only have to wire this up once, per div and chart and then you can be assured that any future width changes will flow through to the chart.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜