473,758 Members | 7,569 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 3839
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
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
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
1367
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
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
5599
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
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
10090
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...
0
9758
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8759
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
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
5343
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3423
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
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.