如何使用Crystal报表从VB.net代码创建带有数据集的条形图 [英] How to create Bar Chart with dataset from VB.net code with Crystal report

查看:66
本文介绍了如何使用Crystal报表从VB.net代码创建带有数据集的条形图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过从vb.net页面(动态)发送数据集来创建水晶报表上的条形图。有没有人有任何示例代码或可以告诉我如何做到这一点?我正在使用VB.NET 2005和Crystal Reports 10.

I would like to create a bar chart on a crystal report by sending it a dataset from the vb.net page(dynamically). Does anyone have any example code or can show me how to do this? I am using VB.NET 2005 and Crystal Reports 10.

我试过并且图表为每个X值总是给出Y值为1,这完全是错误的根据表格。

I have tried and the chart gives always a Y value of 1 for each X value, that is totaly wrong according to the table.

提前致谢。

推荐答案

如何报告我的表显示正确,只是条形图为每个X值提供Y值始终为1,根据表格总是错误的。数据已从VB.net代码发送为数据集。

How come in report my table is showing correct, and just bar chart gives always Y value of 1 for each X value, that is totaly wrong according to the table. data has sending as dataset from VB.net code.


这篇关于如何使用Crystal报表从VB.net代码创建带有数据集的条形图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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