C#应用程序中的Excel图表 [英] Excel Charts in C# Applications

查看:73
本文介绍了C#应用程序中的Excel图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经在Excel工作表中准备了一个表,该表显示了数据库中的数据.我在Excel工作表中也有一张图表,该图表显示了该表中的数据.现在的问题是,我不想在图表中显示其中一列(包含数据).假设我的表有A,B,C,D,E列,我的图表应仅反映A,C,D,E列.
请提出一个解决方案.要添加一个表(这是我的excel中的实际输出),因此我想要一个图表/图表来反映所有列,除了诸如Sr.No,Time等之类的

Hi,
I have prepared a table in the excel sheet which displays data from the database. I also have a chart in the excel sheet which displays data from that table. Now the problem is that I dont want one of the columns(with the data) to be dispalyed in the chart. Suppose my table has A, B, C, D, E columns my chart should only reflect columns A, C, D, E .
Kindly suggest a solution.TO add I have a table(which is the actual output in my excel)based on that I want a graph/chart which should reflect all the columns except for some like Sr.No, Time etc.

推荐答案

建议是在Excel中隐藏B列,而不是反映在图表中.您可以使用工具>来实现.选项>图表>仅绘制可见的单元格.
Suggestion is to hide the column B in Excel, not to reflect in the chart. You can achieve it using Tools > Options > Chart > Plot visible cells only.


这篇关于C#应用程序中的Excel图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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