Thanks for this quick reply, it is always nice to get support by advance user.

I have tried this tutorial (even before sending my first mail) which seems fairly simple but nevertheless I had a problem to access to the following function:

m_Chart.SetChartData(saRet.Detach());

"SetChartData" doesn't belong to the CChart class when "Refresh" is perfectly recognised.

with -> class CChart : public CWnd
-> CChart m_Chart;

I went through all the class members/functions of m_Chart but none looks like "SetChartData" or BindData. There is probably more than one way to link data with the chart. I am not used to too much advance variable type but I am opened to any possibilities.

Kropchek

PS: By the way, the problem could come from the version of MSChart: Microsoft Chart 6.0 (SP4) OLEDB with Microsoft Visual Studio C++.NET 2002.