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

Posted on 2011-02-24
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
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
  • 2

Accepted Solution

SunnyDark earned 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

687 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