Solved

vb.net stats

Posted on 2014-02-21
3
384 Views
Last Modified: 2014-02-22
hello there,
I would like to create something simple using vb.net and stats like stock market where it shows a line going up and down.
I get new numbers between 9am and 12pm everyday on a text file line by line like this

>time - stock - price

1393021891|16012|101
1393021892|16013|102
1393021893|16014|103

so my question is does vb.net allow to have something like the image bellow, that shows the price and time when I mouse over?
image
0
Comment
Question by:XK8ER
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 39878678
There is nothing built-in to do that, since it is a specialized use of a chart, and .NET is conceived as a generic development environment.

There are however a lot of third party charting components available, in a great range of prices. Simply find one that does what you need at http://www.componentsource.com/relevance/index.html?q=chart+%2Enet.

Otherwise, you will have to devise a system built around the Graphics class in the Framework. It should not be too hard to draw the graph, but getting to react to the position of the mouse means a pixel hunt. It would be your job to record the location of the data on the chart, determine what pixel is moused over, and retrieve the appropriate data.
0
 
LVL 1

Author Comment

by:XK8ER
ID: 39878716
pixel hunt and such stuff sounds complicated, im trying to make it as simple as possible so maybe click and shows price etc.. what options do you recommend?
0
 
LVL 40
ID: 39878749
It's up to you to select what you need.

ComponentSource is a good provider of components. If it exists, they have it. They have been at it since the middle of the 90's and my past experience with them has been a pleasure as well for free stuff (they have some) as for high end components over $1000. As I told you in my last post, they have them in the whole price range. They are the Amazon of software components.

I never bought a chart component from them, so I have not suggestion to make. Just go there through the link in my last post and look. You can download demos or evaluation versions of most of the components they offer. The problem there is usually that there is so much choice that you can spend hours refining your choice.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Hangfire / asp.net sample 3 27
Duplicate a row 2 29
.net Multiple Row Form Fields Data Entry 4 17
Visual Studio 2013 debugging 2 16
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now