473,405 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

how to make a xy graph?

46
Hi guys..
May anyone tell me how to draw a graph using xy-chart. Regarding to the axis-x is daily hour, from 8am to 8pm, and the axis-y is the total hour that the machine had been down. I am doing a system that need to see the trend using the graph.
Thank you very much.
May 22 '07 #1
4 7748
Killer42
8,435 Expert 8TB
May anyone tell me how to draw a graph using xy-chart. Regarding to the axis-x is daily hour, from 8am to 8pm, and the axis-y is the total hour that the machine had been down. I am doing a system that need to see the trend using the graph.
Well of course, you always have the option of drawing it yourself, using the Line method and so on.

But I'd say the more common method is to add a reference to the Microsoft Chart Control to your project, and make use of that.
May 22 '07 #2
berry
46
Well of course, you always have the option of drawing it yourself, using the Line method and so on.

But I'd say the more common method is to add a reference to the Microsoft Chart Control to your project, and make use of that.

Thanks a lot. And now i need to have my axis-x start from 8am to 8pm. How do i do that? The data in the graph is taken from the sql server. Do you have any example (code) for me?

Thanks again.
May 22 '07 #3
Killer42
8,435 Expert 8TB
Thanks a lot. And now i need to have my axis-x start from 8am to 8pm. How do i do that? The data in the graph is taken from the sql server. Do you have any example (code) for me?
Sorry, I've never actually used MSChart. But it has been covered in various posts here, so I'd recommend you hit the search box up the top of the page for "VB MSCHART" and see what you get.
May 22 '07 #4
Dököll
2,364 Expert 2GB
Thanks a lot. And now i need to have my axis-x start from 8am to 8pm. How do i do that? The data in the graph is taken from the sql server. Do you have any example (code) for me?

Thanks again.
See if this can help you achieve your goal:

http://www.thescripts.com/forum/thread648872.html
Jun 2 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Lilith | last post by:
Is there a python module somewhere (been searching today, no luck) which has efficiently coded various graph-handling routines, such as finding the shortest path through a graph, or the set of all...
25
by: Magnus Lie Hetland | last post by:
Is there any interest in a (hypothetical) standard graph API (with 'graph' meaning a network, consisting of nodes and edges)? Yes, we have the standard ways of implementing graphs through (e.g.)...
5
by: JackS | last post by:
I am trying to use GDI32 bitblt to write a bitmap to a control's window, but all I get is an empty rectangle of some rop-dependent color. In short, I use the following logic in a paint event handler:...
2
by: MLH | last post by:
A97 Am having difficulty displaying graph in Form View that I see fine in graph control on form opened in design view. I know I'm doing something wrong. If I open the form in design view - I...
0
by: Syazwin | last post by:
Hye everyone! :) i am really a new learner in vb.net. not so expert about what i am searching now.. actually i am looking for the way/source code how to make a line graph in vb.net. the system...
0
by: mylog | last post by:
I have downloaded a GLEE(Graph Layout Execution Engine) and written the following code to display a windows form from a web page but i am encountering with a small problem on displaying the graph...
2
by: sriniwas | last post by:
Hi Frnd's, m using prefuse visulation,it's have one display class and this class have one saveImage(outPutStream, String jpg,double size);. now graph is converting ia jpg image properly.now my...
4
by: Man4ish | last post by:
namespace ve/////////////////ve.h { struct VertexProperties { std::size_t index; boost::default_color_type color; }; }...
2
by: Man4ish | last post by:
I have created Graph object without vertex and edge property.It is working fine. #include <boost/config.hpp> #include <iostream> #include <vector> #include <string> #include...
0
by: eureka2050 | last post by:
Hi all, I am creating a radar chart containing 2 plots using jpgraph. My code is as follows:- include ("./jpgraph/src/jpgraph.php"); include ("./jpgraph/src/jpgraph_radar.php"); //...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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,...
0
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...

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.