Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从给定范围创建图表。我的值介于 A1 和 BQ11 之间。
如果我执行以下操作: chartRange = xlWorkSheet.Range["A1", "J11"];,我得到正确的图表。
chartRange = xlWorkSheet.Range["A1", "J11"];
但是,如果我这样做:chartRange = xlWorkSheet.Range["A1", "BQ11"];,生成的图形不正确...x 轴现在 y 轴和 y 轴现在是 x 轴。
chartRange = xlWorkSheet.Range["A1", "BQ11"];
我错过了什么?