使用c#绘制excel图表 [英] draw excel chart using c#

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

问题描述

我有一个使用c#的Windows窗体应用程序,我在这个程序中对excel表进行了一些处理。如果我想使用Excel工作表中的信息绘制excel图表,我该怎么办?我想绘制带有标题,数据表,图例的图表,在图表上显示
单元格的内容,还可以确定图表内容的字体和颜色。你可以指导我吗?请给我一个示例代码。

I have a windows form application using c# and I have some processing on excel sheet in this program. if I want to draw excel chart using information in excel sheet, how can I do it? I want to draw chart with title, data table, legend,showing content of cell on chart and also I can determine the font and color of chart's content. can you please guide me?please give me a sample code.

推荐答案

Hello nadianaji ,

Hello nadianaji,

由于数据源和图表设计不同,代码可能会有所不同。您能否分享一个简单的excel文件向我们展示您的数据源和您想要的目的图表,以便我们可以尝试使用C#构建图表?

Code could be different due to different data source and chart design. Could you please share a simply excel file to show us your data source and the purpose chart you want so we could try to build the chart using C#?

感谢您的理解。

最好的问候,

Terry


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

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