473,729 Members | 2,353 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crystal Line Chart

Hello:

I am trying to use Crystal Reports from VS.NET 2003 to produce a simple line
chart, where the x axis represents the number of measurements taken and the y
axis represents the range of measurement values. There are two sets of points
or measurements, so I would like a line on the chart for each set of values
(two lines).

I can produce the line chart on a VB.NET form correctly using an
Infragistics UltraChart obeject. The data points are assigned to the
datasource of the UltaraChart in the horizontal fashion (rows) where the data
looks like:

Open Flow +000.1 +001.1 +000.3 +000.4 -000.4
Check Flow +000.3 +000.5 +000.4 +000.6 +000.2

The above data creates a line chart with an x axis of 1 through 5 and a y
axis from -.4 to +1.1 with a line across the chart for each set of data (one
for open flow and one for check flow).

The problem is producing a line chart with Crystal Reports. I have tried
creating an ADO.NET dataset with three columns where the index column is a
counter included in the query output.
Index Open Flow Check Flow
1 +000.1 +000.3
2 +001.1 +000.5
3 +000.3 +000.4
etc...

I get a CR line chart where the x axis is correct but the y axis is 0 to 1
and the data is not plotted correctly. The data settings on the line chart
are "On Change of" Indx and "Show values" on both sets of data.

I can enter the data either in columns or in rows within Excel, click on the
Excel chart wizard, select line chart and get exactly what I’m looking for
but I can’t seem to get this to work in CR.

Does the data have to be presented to the CR line chart in a horizontal
(columns) fashion? If so, how is this done? I'm open to suggestions.

Thanks,
--
Scott H.

Nov 21 '05 #1
1 3835
Hello,

Not sure about Crystal's use, but it may be quicker to use UltraChart to
export a temp image to be embedded into the report as a simple picture. I
know we have customers often doing this (using ProEssentials) as Crystal's
charting is not so robust, especially with technical data.

best regards,

Robert Dede
Gigasoft, Inc.
www.gigasoft.com
"Scott H." <Sc****@discuss ions.microsoft. com> wrote in message
news:26******** *************** ***********@mic rosoft.com...
Hello:

I am trying to use Crystal Reports from VS.NET 2003 to produce a simple
line
chart, where the x axis represents the number of measurements taken and
the y
axis represents the range of measurement values. There are two sets of
points
or measurements, so I would like a line on the chart for each set of
values
(two lines).

I can produce the line chart on a VB.NET form correctly using an
Infragistics UltraChart obeject. The data points are assigned to the
datasource of the UltaraChart in the horizontal fashion (rows) where the
data
looks like:

Open Flow +000.1 +001.1 +000.3 +000.4 -000.4
Check Flow +000.3 +000.5 +000.4 +000.6 +000.2

The above data creates a line chart with an x axis of 1 through 5 and a y
axis from -.4 to +1.1 with a line across the chart for each set of data
(one
for open flow and one for check flow).

The problem is producing a line chart with Crystal Reports. I have tried
creating an ADO.NET dataset with three columns where the index column is a
counter included in the query output.
Index Open Flow Check Flow
1 +000.1 +000.3
2 +001.1 +000.5
3 +000.3 +000.4
etc...

I get a CR line chart where the x axis is correct but the y axis is 0 to 1
and the data is not plotted correctly. The data settings on the line chart
are "On Change of" Indx and "Show values" on both sets of data.

I can enter the data either in columns or in rows within Excel, click on
the
Excel chart wizard, select line chart and get exactly what I'm looking for
but I can't seem to get this to work in CR.

Does the data have to be presented to the CR line chart in a horizontal
(columns) fashion? If so, how is this done? I'm open to suggestions.

Thanks,
--
Scott H.

Nov 21 '05 #2

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

Similar topics

0
1522
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
1824
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.
1
1365
by: Dzemo | last post by:
I'm using VB.NET 2003 and have chart on few reports and i don't have customization as i wish . On chart i have 3 series of data and i wish to one of then have markers and ticker then other two and one color, others two that are samo color without markers and start at begining and edn of ending of chart. Can i do this in crystal reports with vs.net 2003 or buy Crystal 10 or is there other solution thx
0
320
by: Scott H. | last post by:
Hello: I am trying to use Crystal Reports from VS.NET 2003 to produce a simple line chart, where the x axis represents the number of measurements taken and the y axis represents the range of measurement values. There are two sets of points or measurements, so I would like a line on the chart for each set of values (two lines). I can produce the line chart on a VB.NET form correctly using an Infragistics UltraChart obeject. The data...
0
2923
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
1288
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
5598
by: shaziya | last post by:
Hello there, I have one crystal report in VisulaStudio 2003 C#, i have used IGraphObject for Line Chart. My data is somewhat like this 0.00, 0.01, 0.03 ....etc on y axis and 0000,0002,0004,....etc on x-axis Now when i plot the graph i can see propert values on X-axis (with overalapping) thats fine but on y-axis i can see all zero values.
1
1146
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
8917
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
9426
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9200
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,...
0
8148
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6722
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
6022
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3238
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
2
2680
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.