By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,948 Members | 1,958 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,948 IT Pros & Developers. It's quick & easy.

Plotting X/Y graph in VB.NET.

P: 68
Hello Friends,

I'm new to VB.net, but have been programming from a long time in other languages.

I wanted to plot a graph for one of my application in VB.net.

I want a Time (X-axis) Vs Temperature (Y-axis) graph, where

1. X- Axis has vertical lines every 10 minutes. So there are 6 vertical lines between 1 hr. The labels on the Axis should be written at every hour even though the vertical lines are at every 10 minutes. (Eg: 10:00, 11:00, 12:00, 13:00, 14:00...)

2. Y-Axis should have horizontal lines every 10 degrees C. So there are 10 Horizontal lines between 100 degrees. The labels on the axis should be written at every 100 degrees (Eg: 0 deg C, 100, 200, 300...)

Consider me to be a newbie to VB.net and guide me accordingly,

Any help is appreciated.

Thanks,

Ravi
May 4 '09 #1
Share this Question
Share on Google+
2 Replies


iam_clint
Expert 100+
P: 1,208

P: 68
Please check the attachment to view the type of margins i am looking for.

Labels at the x-Axis are 300 and 600, but other vertical lines are present.
Similarly, labels at Y-axis are 100, 200, 300 and so on, even though horizontal lines are present for 50, 150, 250...

How can we design this type of graph.


Thanks,

Ravi
Attached Images
File Type: jpg Graph Image.jpg (10.4 KB, 3690 views)
May 4 '09 #3

Post your reply

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