Solved

vb.net stats

Posted on 2014-02-21
3
403 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

691 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