开发者

how to set excel chart legend properties?

How to set the legend to overlay on th开发者_如何转开发e right of the excel chart using c#?

Refer to MS excel it has a checkbox "show the legend without overlapping the chart" in legend properties window.

Thanks for your help.


If you're using the excel automation engine (via the COM object and .NET interoperability layer), then the Chart object contains a Legend object, which has a Position property and an IncludeInLayout boolean property. It may be what you're looking for.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜