TChartImageType/TImageFileType problem

Hi,



Since I installed your latest update I have been getting the following compile error on one of my old projects:



[DCC Error] Machines.pas(950): E2010 Incompatible types: 'TChartImageType' and 'TImageFileType'



against the following line of code



MachSaleChart.Panes[0].Chart.SaveToImage(GraphicPicDlg.FileName,1000,500,itJPEG,1000);



Also have a another line with itPNG which has the same error.



Can you please advise what the problem might be as I have never had any problem with this code previously.



Thanks in advance.



Bill                     

This is explained in the FAQ (http://www.tmssoftware.com/site/faq.asp) under namespaces.
So, in this particular case, you'll need to make the call as:


MachSaleChart.Panes[0].Chart.SaveToImage(GraphicPicDlg.FileName,1000,500,AdvChartGDIP.itJPEG,1000);