Jump to content
Software FX Community

Unlimited real-time chart doesn't work.

User (Legacy)

Recommended Posts

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, SfxBar.dll version is

Here is code I try to use :


m_pChartFX->CreateWnd(long(hWnd), IDC_CHARTFX, 0, 0, 500, 500, WS_CHILD |


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));


Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...