通过vb.net在Excel中合并两个图表 [英] Combine Two charts in excel through vb.net
本文介绍了通过vb.net在Excel中合并两个图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
朋友们..
谁能建议我如何通过vb.net在Excel中组合条形图和折线图..
我成功地通过vb.net创建了折线图,并且效果完美..我必须在同一条折线图中组合条形图..
谢谢
Hi frnds..
can anyone advice me how to combine bar and line chart in excel through vb.net..
Successfully i created line chart through vb.net and its perfectly working.. i have to combine bar chart in the same line chart..
Thanks
推荐答案
您只需将另一个系列添加到同一图表中,然后设置
You simply add another series to the same chart and then set
ChartObject.Series[seriesName].ChartType = SeriesChartType.Line;
或您想要的任何类型.
or whatever type you want.
这篇关于通过vb.net在Excel中合并两个图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文