473,325 Members | 2,608 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,325 software developers and data experts.

line graph

hi,
i have arrays of x and y values to draw a line graph. I dont have any idea regarding graph in c sharp. So, can help from where to proceed.
Nov 16 '09 #1
6 3638
Curtis Rutland
3,256 Expert 2GB
Well, when I need to show a chart or graph, I use Visifire's Chart Control for WPF or Silverlight, depending on which medium I'm using.

What kind of project is this, a web app or a windows forms app? If it's the latter, I suggest you look into making it a WPF app and trying out the chart control I linked.
Nov 16 '09 #2
cloud255
427 Expert 256MB
If you want to draw the graph manually have a look at the System.Drawing.Graphics.DrawCurve method.

You will need to combine your two arrays into one array of System.Drawing.Point struct.

Check this MSDN entry for further information on the Drawing namespace should you require it.
Nov 16 '09 #3
hi
i have a line graph in and i wanna display the co-ordinates of the graph when the mouse cursor is placed at the point on the graph
Nov 23 '09 #4
Plater
7,872 Expert 4TB
Capture the MouseMove event and display the x,y value of the mouse
Nov 23 '09 #5
hi,
how can i display the co-ordinates of the form when the mouse is placed there
Nov 26 '09 #6
tlhintoq
3,525 Expert 2GB
On the MouseEnter even display the form's .Location property
Nov 27 '09 #7

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

Similar topics

1
by: Lisa Tracy | last post by:
I have a line graph in Crystal Reports 8.5. There are dates along the x-axis and scores along the y-axis. I have 2 data series, so there are 2 lines graphed. My problem occurs when one of the...
2
by: Tim Byrne | last post by:
I have wrote a program that lets the user choose stock data types that they wish to analyse. Their choices are then read in from a database. I want to know how to then graph the data using a line...
7
by: news | last post by:
This may be a stupid question, but if I don't ask I'll never know ;) Ok, here it goes.... I am writing an application that renders an image in one picturebox and a graph in another. The image...
1
by: Roger Oshaug | last post by:
Access 2003 I have a simple line graph with one line and I need an extra horizontal line in that graph. I want something similar to this, (without the vertical line): ...
3
by: Bob Greschke | last post by:
I've resorted to actually drawing all of the characters of the alphabet on a graph to avoid having to drag around font files. It's mostly just uppercase characters, so it's not too bad. But I...
1
by: Sharon | last post by:
(Frustratingly), after unsuccessfully trying to use a picturebox control to paint a line graph based on serial communications with a remote device, it seems picturebox controls just won't work for...
2
by: balakrishnan.dinesh | last post by:
Hi Frnds, I want to know about, how to use color in canvas in javascript. Bcoz im using canvas in javascript for plotting line graph, I have plotted the linegraph, now i need to differentiate...
2
blazedaces
by: blazedaces | last post by:
Hey, I have an application that draws a polyline with Graphics': g.drawPolyline(getXPoints(),getYPoints(),nPoints); It's drawn onto a background image and so the background image is so many...
3
by: goldreads | last post by:
Hey guys, I've been putting together a line graph in Image_Graph. And I can't seem to find an answer to change the layout of few things. Here is my graph: http://www.goldreads.com/test.png ...
4
by: networkmancer | last post by:
Written in Turbo C++ so dont tell me its very messy because I know it is and this is an assignment that we must stick in to. The source of the problem is in Case 5 int main { . I just dont know how...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.