Click here to Skip to main content
15,909,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondelete graph Pin
thathvamsi7-Aug-06 22:51
thathvamsi7-Aug-06 22:51 
hey all,
I am using CNTGraph class that was found in the codeproject website.

I can plot a graph that I want.
But there are 2things I want to do:
1. I want to replot the graph everytime I recieve a new set of data points.
How do I do it? Is there a 'clear' or 'delete graph points' function that can be used to clear the previous plotted points before a new set of data is plotted.
2.Also, how do I set the scale on X-axis and Yaxis?
say, I want the scale of the X-axis in terms of 2units.ie., X-axis range (I use SetRange()) is (0,10). but the scale has to be like 0 2 4 6 8 10? Is there a function to do this?

Can anyone help me?
AnswerRe: delete graph Pin
Cedric Moonen7-Aug-06 22:53
Cedric Moonen7-Aug-06 22:53 
Questionhow to create function save Pin
krie7-Aug-06 22:24
krie7-Aug-06 22:24 
QuestionRe: how to create function save Pin
David Crow8-Aug-06 3:03
David Crow8-Aug-06 3:03 
Questionc++ constructors Pin
quantum177-Aug-06 22:05
quantum177-Aug-06 22:05 
AnswerRe: c++ constructors Pin
Cedric Moonen7-Aug-06 22:23
Cedric Moonen7-Aug-06 22:23 
AnswerRe: c++ constructors Pin
Michael Dunn8-Aug-06 12:19
sitebuilderMichael Dunn8-Aug-06 12:19 
Questionneed help on creating tiff file Pin
Kiran Pinjala7-Aug-06 21:48
Kiran Pinjala7-Aug-06 21:48 
AnswerRe: need help on creating tiff file Pin
kakan7-Aug-06 22:04
professionalkakan7-Aug-06 22:04 
GeneralRe: need help on creating tiff file Pin
Kiran Pinjala7-Aug-06 22:48
Kiran Pinjala7-Aug-06 22:48 
GeneralRe: need help on creating tiff file Pin
kakan7-Aug-06 22:57
professionalkakan7-Aug-06 22:57 
Questionclick and see function? Pin
NicolNghia7-Aug-06 21:30
NicolNghia7-Aug-06 21:30 
AnswerRe: click and see function? Pin
_AnsHUMAN_ 7-Aug-06 21:39
_AnsHUMAN_ 7-Aug-06 21:39 
AnswerRe: click and see function? Pin
Naveen7-Aug-06 21:50
Naveen7-Aug-06 21:50 
QuestionCListCtrl Pin
Bravoone_20067-Aug-06 20:54
Bravoone_20067-Aug-06 20:54 
AnswerRe: CListCtrl Pin
Hamid_RT7-Aug-06 21:17
Hamid_RT7-Aug-06 21:17 
QuestionRe: CListCtrl Pin
Bravoone_20067-Aug-06 21:23
Bravoone_20067-Aug-06 21:23 
AnswerRe: CListCtrl Pin
Hamid_RT7-Aug-06 21:35
Hamid_RT7-Aug-06 21:35 
GeneralRe: CListCtrl Pin
Bravoone_20067-Aug-06 22:01
Bravoone_20067-Aug-06 22:01 
GeneralRe: CListCtrl Pin
Hamid_RT7-Aug-06 22:38
Hamid_RT7-Aug-06 22:38 
GeneralRe: CListCtrl Pin
Bravoone_20068-Aug-06 0:00
Bravoone_20068-Aug-06 0:00 
QuestionRe: CListCtrl [modified] Pin
Bravoone_20068-Aug-06 1:29
Bravoone_20068-Aug-06 1:29 
QuestionRe: CListCtrl Pin
David Crow8-Aug-06 3:09
David Crow8-Aug-06 3:09 
AnswerRe: CListCtrl Pin
Hamid_RT8-Aug-06 7:53
Hamid_RT8-Aug-06 7:53 
QuestionRe: CListCtrl Pin
Bravoone_20068-Aug-06 19:44
Bravoone_20068-Aug-06 19:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.