Software FX에서 개발한 차트 라이브러리.
Chart FX 7.0의 경우 COM버전이 없기 때문에 (2012. 4 기준) C#, VB가 아닌 다른 언어에서 이용하기 힘든 점이 있다. 하지만 Windows form 컨트롤 호스팅 방법을 사용하면 MFC에서도 사용 가능하다.
#endif // _AFX_NO_AFXCMN_SUPPORT
위에서 찾은 줄 위에 다음 코드를 추가한다.
#include <afxwinforms.h> // MFC Windows Forms support
CWinFormsControl<WindowsControlLibrary1::UserControl1> m_ctrl1;
DDX_ManagedControl(pDX, IDC_CTRL1, m_ctrl1);
/clr 옵션으로 컴파일하면서 vararg (함수의 가변 인자) 를 사용할 수 없다.
ChartFX.WinForms.Chart, ChartFX.WinForms
의미 : <클래스 이름, DLL 파일 이름>
lc /target:<Name of your Executable.exe> /complist:licenses.licx /i:ChartFX.WinForms.DLL