• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 354
  • Last Modified:

5,000 POINTS: teach me how to use "Plot Graphic Library" from codeproject

Hi, I need a thorough tutorial. I am more than willing to give you 5,000 points.
we can break each step into 500 pts mini-tutorial.

http://www.codeproject.com/KB/miscctrl/pgllib.aspx

I am a newbie programmer. We have stopped at functions in class. We haven't done OOP.

Goal: I would like to draw a simple 2D chart.

Needs: 1.I don't know where to put the downloaded folder into my MS VS2008 folder.
             2. I don't know what <headers> to include from the source code or where to find it.
             3. I don't know what functions to use to plot a chart.

I hope I can find someone with the patience to teach me.

Thanks.

0
pgmerLA
Asked:
pgmerLA
  • 2
  • 2
1 Solution
 
SunnyDarkCommented:
Hello,
It seems to me that the library you are willing to use is quite complicated with many features, from what you have described " draw a simple 2D chart" it seems to me that using such a heavy load library is a bit over kill...
It can be accomplished with using just a few GDI+ functions.
Could you please specify what features exactly do you need to use from this library?
If you choose to just use simple GDI+ I am willing to go through it with you in small steps as you suggest.
I believe that this will be better learning experience then using some 3rd party library. However the choice is yours.
0
 
pgmerLAAuthor Commented:
Hi,
I think it's a good idea.
What I would like to learn how to do, ideally, is display a chart with price on the y axis and time on the x axis.
and below it a histogram with volume. (stock market).
The data is on a text file.
do you think the GDI+ function can do that?
and visually, i would like it to look like the pic on this page:
http://www.codeproject.com/KB/miscctrl/pgllib.aspx

and of course, that would be in a perfect world.
I still would be happy if I could plot 2D graphs regardless of the way they look.

how you would turn this project into smaller steps? and do you have any additional comments/ideas?

Thanks a lot for your reply :)
0
 
SunnyDarkCommented:
I would suggest the following we will divide the tutorial into small steps , total 10 steps.
You will post the new questions and direct me to them so that each next step will be answered in a different question. Of course if you feel at any step that you would like or feel ready to proceed alone you are free to do so.
We can start with this question as the first one in the tutorial and this will be "Initializing GDI++ in MFC/ATL application"

I would need a couple more details from you:
What sort of project are you building (MFC/ATL/WIN32 etc...)
What window are you running.
What Visual Studio are you using.
Sample data file (you can attach it to message)

0
 
pgmerLAAuthor Commented:
Hi, I have posted a question:
http://www.experts-exchange.com/Programming/Languages/CPP/Q_26862958.html

Talk to you soon :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now