Click here to Skip to main content
15,921,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with NTGraph Pin
Semion_N8-Jul-06 5:16
Semion_N8-Jul-06 5:16 
GeneralRe: Problem with NTGraph Pin
Justin Tay8-Jul-06 5:33
Justin Tay8-Jul-06 5:33 
GeneralRe: Problem with NTGraph Pin
Semion_N8-Jul-06 5:42
Semion_N8-Jul-06 5:42 
GeneralRe: Problem with NTGraph Pin
Justin Tay8-Jul-06 6:07
Justin Tay8-Jul-06 6:07 
GeneralRe: Problem with NTGraph Pin
Semion_N8-Jul-06 6:19
Semion_N8-Jul-06 6:19 
GeneralRe: Problem with NTGraph Pin
Justin Tay8-Jul-06 6:26
Justin Tay8-Jul-06 6:26 
GeneralRe: Problem with NTGraph Pin
Semion_N8-Jul-06 6:43
Semion_N8-Jul-06 6:43 
GeneralRe: Problem with NTGraph Pin
Justin Tay8-Jul-06 7:24
Justin Tay8-Jul-06 7:24 
You don't seem to understand my previous message. An element is NOT a data point. An element contains a set of data points along with the parameters of how to draw the data set. Lets say I would like to plot the stock market performance of a few companies, the performance data of Yahoo would be one element and the performance data of Google would be another element. So I have 2 elements. I can set the color for Yahoo to be yellow and the color for Google to be blue.

<br />
void CGraphsXYAxisDlg::OnBnClickedButton2()<br />
{<br />
UpdateData(TRUE);<br />
m_Graph.AddElement();<br />
m_Graph.SetElementWidth(10);<br />
m_Graph.PlotXY(X,m_Y,X);<br />
m_Graph.PlotXY(X,m_Y,0);<br />
X++;<br />
}<br />


If it still doesn't work, set a breakpoint at the PlotElement() function in NTGraphCtl.cpp and see why it's not drawing the line.
GeneralRe: Problem with NTGraph Pin
Semion_N8-Jul-06 8:17
Semion_N8-Jul-06 8:17 
GeneralRe: Problem with NTGraph Pin
Justin Tay8-Jul-06 9:03
Justin Tay8-Jul-06 9:03 
GeneralRe: Problem with NTGraph Pin
Semion_N8-Jul-06 9:25
Semion_N8-Jul-06 9:25 
GeneralRe: Problem with NTGraph Pin
Justin Tay8-Jul-06 9:32
Justin Tay8-Jul-06 9:32 
GeneralRe: Problem with NTGraph Pin
Semion_N8-Jul-06 9:44
Semion_N8-Jul-06 9:44 
QuestionExporting from a DLL Pin
Jay037-Jul-06 5:46
Jay037-Jul-06 5:46 
AnswerRe: Exporting from a DLL Pin
Zac Howland7-Jul-06 6:18
Zac Howland7-Jul-06 6:18 
QuestionUser Input Pin
Harold_Wishes7-Jul-06 5:26
Harold_Wishes7-Jul-06 5:26 
AnswerRe: User Input Pin
Zac Howland7-Jul-06 5:31
Zac Howland7-Jul-06 5:31 
GeneralRe: User Input Pin
Harold_Wishes7-Jul-06 5:51
Harold_Wishes7-Jul-06 5:51 
GeneralRe: User Input Pin
Zac Howland7-Jul-06 6:04
Zac Howland7-Jul-06 6:04 
GeneralRe: User Input Pin
Harold_Wishes7-Jul-06 7:06
Harold_Wishes7-Jul-06 7:06 
GeneralRe: User Input Pin
Zac Howland7-Jul-06 7:33
Zac Howland7-Jul-06 7:33 
GeneralRe: User Input Pin
Harold_Wishes7-Jul-06 10:08
Harold_Wishes7-Jul-06 10:08 
GeneralRe: User Input [modified] Pin
Zac Howland7-Jul-06 10:35
Zac Howland7-Jul-06 10:35 
GeneralRe: User Input [modified] Pin
Harold_Wishes8-Jul-06 17:36
Harold_Wishes8-Jul-06 17:36 
GeneralRe: User Input Pin
Zac Howland9-Jul-06 14:28
Zac Howland9-Jul-06 14:28 

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.