使用Visual Studio和C#导出图表 [英] Exporting a Graph using Visual Studio and C#

查看:137
本文介绍了使用Visual Studio和C#导出图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经读过很多关于这个主题的帖子但是我的图表范围仍然有问题,excel是制造。到目前为止,我可以成功打开Excel,读入数据并打开图表。但是,当图表打开时,它使用列A和B两个用于
xvalues和最后一个用于y值的A和B行。我希望它使用列A表示xvalues,列B表示相应的y值。有人可以帮我解决这个问题。

I have read many threads over this subject but am still having trouble with my graph range that excel is making. So far I can successfully open Excel, read in data to it and open up a graph. However, when the graph opens, it uses both columns A and B for the xvalues and the last A and B row for the yvalues. I want it to use column A for the xvalues and column B for the corresponding yvalues. Can someone help me fix this.

谢谢,

Jochimsen

Jochimsen

这是我的代码。 

Here is my code. 

推荐答案

您好Jochimsen,

Hi Jochimsen,

感谢您发布此处。

根据你的问题与Excel有关,我将把它移到
Excel for Developers
 论坛以获得合适的支持。

According to your question is more related to Excel, I will move it to Excel for Developers forum for suitable support.

Visual C#讨论并询问C#编程语言,IDE,库,样品和工具。

The Visual C# discuss and ask the C# programming language, IDE, libraries, samples and tools.

如果您有一些语法或代码错误,请随时与我们联系。我们将尽力为您提供解决方案。

If you have some grammar or code errors, please feel free to contact us. We will try our best to give you a solution.

感谢您的理解与合作。

最诚挚的问候,

Wendy


这篇关于使用Visual Studio和C#导出图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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