User (Legacy) Posted July 19, 2005 Report Share Posted July 19, 2005 I want to get unlimited real-time char. But I can't add points to series without MaxValues specifying (PutValueEx returns E_FAIL). I use MSVC++, cfx4032.dll version is 5.0.14.0, SfxBar.dll version is 1.0.23.0. Here is code I try to use : <cppcode> m_pChartFX->CreateWnd(long(hWnd), IDC_CHARTFX, 0, 0, 500, 500, WS_CHILD | WS_VISIBLE); m_hwndChartFX = HWND(m_pChartFX->hWnd); //m_pChartFX->MaxValues = 20; //if this line is uncommented the code works fine m_pChartFX->OpenDataEx(CfxCod(COD_VALUES | COD_ADDPOINTS), 1, 1); m_pChartFX->ValueEx[0][0] = 1; //PutValueEx returns E_FAIL m_pChartFX->CloseData(CfxCod(COD_VALUES | COD_REALTIME)); </cppcode> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.