c#-如何使用Crystal Report Visual Studio 2013在条形图中添加2系列
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了c#-如何使用Crystal Report Visual Studio 2013在条形图中添加2系列,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1447字,纯文字阅读大概需要3分钟。
内容图文
我在Visual Studio 2013中使用了水晶报表,并且不得不设计带有条形图的报表.
我已经合并了验证报告,并且必须显示2个系列的条形图.
我有这样的数据.
public class VerifiedCountData
{
public List<VerifiedCountData> GetDataList()
{
this.VerifiedCountList = new List<VerfiedCountList>();
this.VerifiedCountList.Add(new VerifiedCountData(new DateTime(2015,08,02),1,1));
this.VerifiedCountList.Add(new VerifiedCountData(new DateTime(2015,08,03),5,0));
this.VerifiedCountList.Add(new VerifiedCountData(new DateTime(2015,08,04),2,4));
this.VerifiedCountList.Add(new VerifiedCountData(new DateTime(2015,08,05),6,2));
return this.VerifiedCountList;
}
public VerifiedCountData(DateTime date, int yesCount, int noCount)
{
this.Date = date;
this.YesCount = yesCount;
this.NoCount = noCount;
}
public DateTime Date {get;set;}
public int YesCount {get;set;}
public int NoCount {get;set;}
public List<VerifiedCountData> VerifiedCountList {get;set;}
}
这是我在囊肿报告中必须设计的内容.
请检查这张图片
https://www.dropbox.com/s/t9qjzcjxb80dugi/sample.png?dl=0
在“水晶报表设计”中,右键单击报表,然后转到“插入”选项并选择图表.
在图表“专家数据”选项卡布局中,数据在内部向上移动,表示“更改时”.我添加了两个字段,一个是YesCount,另一个是第二个NoCount,并在显示值中添加了日期字段.
这是图像说明我做了什么
https://www.dropbox.com/s/siy99mb3092m396/sample1.png?dl=0
但是当我运行结果是这样的时候
dropbox.com/s/dbb6aac3pxqeh3w/sample.3png.png?dl=0
谢谢
解决方法:
最后,我通过更改“图表专家>数据(标签)’
代替这个:
至
内容总结
以上是互联网集市为您收集整理的c#-如何使用Crystal Report Visual Studio 2013在条形图中添加2系列全部内容,希望文章能够帮你解决c#-如何使用Crystal Report Visual Studio 2013在条形图中添加2系列所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。