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.
4 7755
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.
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.
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.
Dököll 2,364
Recognized Expert Top Contributor
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 Sign in to post your reply or Sign up for a free account.
Similar topics |
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 paths
through a graph? I'm not a compsci-educated person, so coding my own
would be less parsimonious.
Thanks for any suggestions!
D
|
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.) dicts
mapping nodes to neighbor-sets, but if one wants a graph that's
implemented in some other way, this may not be the most convenient (or
abstract) interface to emulate. It might be nice to have the kind of
polymorphic freedom that one has with,...
|
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:
dstGr = args.graphics;
srcGr = Graphics.FromImage( bitmap );
dstHdc = dstGr.GetHdc();
srcHdc = srcGr.GetHdc();
BitBlt( dstHdc, x, y, width, height, srcHdc, 0, 0, rop );
What am I doing wrong? A complete demo program follows.
|
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 see the graph in the graph
control. If I dbl-clik the graph control, microsoft graph opens and
displays the graph fine there too.
|
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 will display a graph after user enter the coordinates.beside will display the maximum and minimum point/coordinate + the graph can be save as a picture for reference in the future.i have search but not really understand to use the coding with the...
| |
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 into the display and I am getting the following error when I run the web page.Can anybody solve this problem. I would be very grateful. Thanks
Error:
System.InvalidOperationException: Showing a modal dialog box or form when the application is not...
|
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 problem is tht,If graph is to large if it going out of screen thn ,i m getting jpg image on screen disply graph,m not getting the image of tht graph which going out of screen. this is my code
This is my code
|
by: Man4ish |
last post by:
namespace ve/////////////////ve.h
{
struct VertexProperties
{
std::size_t index;
boost::default_color_type color;
};
}
///////////////////////////////////////////////////////////////////////////////////////////////////
namespace ed///////////////////////ed.h
|
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 <boost/graph/adjacency_list.hpp>
#include <boost/tuple/tuple.hpp>
#include <set>
using namespace std;
|
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");
// Create the basic radar graph
$graph = new RadarGraph(700,500,"auto");
|
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...
| |
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,...
|
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...
|
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...
|
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...
|
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...
|
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();...
| |
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...
|
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
| |