473,758 Members | 8,297 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to display multiple lines in one crystal report chart

Hi all,

i want to know how to display multiple lines in one crystal report chart in
asp.net

i wrote some codes but it always display 2 lines in separate chart(please
refer to the codes below), how can i display them in one chart? is there any
settings i need to configure?
=============
DataRow row=this.webDS. Line.NewLineRow ();
row["grp"]="1";
row["rq"]="11";
row["val"]=10;
this.webDS.Line .Rows.Add(row);

row=this.webDS. Line.NewLineRow ();
row["grp"]="1";
row["rq"]="11";
row["val"]=20;
this.webDS.Line .Rows.Add(row);

row=this.webDS. Line.NewLineRow ();
row["grp"]="2";
row["rq"]="11";
row["val"]=13;
this.webDS.Line .Rows.Add(row);

row=this.webDS. Line.NewLineRow ();
row["grp"]="2";
row["rq"]="11";
row["val"]=17;
this.webDS.Line .Rows.Add(row);

Web.Report.DayL ineRpt rpt=new Web.Report.DayL ineRpt();
rpt.SetDataSour ce(this.webDS);
this.ReportLine .ReportSource=r pt;
=============

regards,

benny

Nov 18 '05 #1
0 1824

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2623
by: mary | last post by:
I need to display 10 fields (columns) to display in a crystal Report. When I am trying to print the report some of the columns are cutting off from the report. Is there any way to display the report horizontally. I am using Crystal Report 9. Please some body help me Thanks mary
2
13453
by: Sam | last post by:
Hello everyone, I have a table, which contains a picture column, I put URL info into it. "www.myweb.com/1.jpg..." I want to show this picture in my crystal report, I find some samples show the "static" picture in Crystal report, No "Dynamic" one. Can Crystal Report do that? Thanks in advance. Sam
0
1523
by: wangyang | last post by:
I designed a crystal report by Microsoft Visual Studio .NET (Version 1.1),and I inserted a chart in the report. All Text Font are "Arial" in the chart. I viewed the report in web application and web server is windows 2000 Server. If the version of windows 2000 Server is Traditional chinese,Text in chart (such as Title,Group Title,Legend Title) are illegible. If the version of windows 2000 Server is English or simplified chinese,Text in...
0
549
by: michael | last post by:
Hi all, i want to know how to display multiple lines in one crystal report chart in asp.net i wrote some codes but it always display 2 lines in separate chart(please refer to the codes below), how can i display them in one chart? is there any settings i need to configure?
0
1933
by: Simon Peng | last post by:
I'm using Crystal Reports .NET and VS.NET. I've created a drill down report which starts off with a pie chart, followed by a bar chart which is shown when the user drills down. I'm using the Webviewer to show the report on an ASP.NET page. Everything is working fine except for the quality of the pie/bar chart images that appear on the web page.
0
2924
by: Gilberto Avila | last post by:
I'm currently developing a web application with ASP .NET 1.1. I'm using the bundled Crystal Reports in Visual Studio 2003 to create reports for this application. The system specification requires a Gantt chart inside one of these reports, and that's the problem: this version of Crystal Reports doesn't have a Gantt chart option. I know that VS 2005 ships with Crystal Reports 10 version that supports Gantt charts. I'm avoiding the...
0
1289
by: Guy Gallant | last post by:
Does anybody know if a Crystal Report (V11) can call a Dundas Chart. Using C# (2.0) can we have a Crystal Report include a Dundas Chart.
1
2422
by: Ripendra007 | last post by:
hi every one , i m doing one report for my project that display the information for particular campaign. now the procedure or the way i want my project is that the user will select the multiple or single campaign from listbox and accordingly i want to display the total of read mail for that comapigns that he had selected . my tables are 1)Campaign comp_id, comp_name, 2) emailtracking emt_id, comp_id,
1
1148
by: ramaswamynanda | last post by:
Hello, I am new to Crystal Reports. I need to create a chart in Crystal Reports and put it into a web form in VB.Net 2003 1. The chart takes its data from a simple table in SQLServer 2005. 2. The web form in vb.net gives criteria to the report 3. The report should be viewed in the webform using a Crystal report viewer Can someone please help me with which versions of Crystal and the Crystal report viewer I need to use for the above...
0
9506
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9317
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9924
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9892
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7310
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5190
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5343
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3844
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2719
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.