Solved

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

Posted on 2011-02-24
4
329 Views
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.

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
Comment
Question by:pgmerLA
  • 2
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
SunnyDark earned 500 total points
ID: 34987642
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
 

Author Comment

by:pgmerLA
ID: 35030262
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
 
LVL 8

Expert Comment

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

0
 

Author Comment

by:pgmerLA
ID: 35032744
Hi, I have posted a question:
http://www.experts-exchange.com/Programming/Languages/CPP/Q_26862958.html

Talk to you soon :)
0

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

816 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