Go Premium for a chance to win a PS4. Enter to Win


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

Posted on 2011-02-24
Medium Priority
Last Modified: 2012-05-11
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.


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.


Question by:pgmerLA
  • 2
  • 2

Accepted Solution

SunnyDark earned 2000 total points
ID: 34987642
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.

Author Comment

ID: 35030262
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:

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 :)

Expert Comment

ID: 35030705
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)


Author Comment

ID: 35032744
Hi, I have posted a question:

Talk to you soon :)

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses

971 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