Maxmyd Posted September 2, 2010 Report Share Posted September 2, 2010 Hello, This is my code: chart1.FileContents = FileContents.All; chart1.Export(FileFormat.Binary, "c:\\Program Files (x86)\\Chart FX 7\\ChartFX70\\Temp\\chart.xml"); Chart chart2 = new Chart(); chart2.Import(FileFormat.Binary, "c:\\Program Files (x86)\\Chart FX 7\\ChartFX70\\Temp\\chart.xml"); And this is the exception which fires right after calling Import method: Index was outside the bounds of the array. at ChartFX.WinForms.GlobalAttributes.a(Gallery A_0) at ChartFX.WinForms.GlobalAttributes.a(Gallery A_0, IGalleryType& A_1, IGalleryTypeEx& A_2) at ChartFX.WinForms.SeriesAttributes.a(Gallery A_0, Int32 A_1, IGalleryType A_2, IGalleryTypeEx A_3) at ChartFX.WinForms.SeriesAttributes.a(IAmbient A_0) at ChartFX.WinForms.Internal.AmbientUtils.SetAmbient(Object obj, IAmbient ambient) at ChartFX.WinForms.Internal.RequiresAmbientCollection.SetAmbient(IAmbient ambient) at ChartFX.WinForms.LabelAwareCollection.a(IAmbient A_0) at ChartFX.WinForms.Internal.AmbientUtils.SetAmbient(Object obj, IAmbient ambient) at ChartFX.WinForms.Chart.a(Object A_0) at ChartFX.WinForms.Chart.c(Boolean A_0, IPersistBase A_1) Can you please tell me what's going on there? Thank you. Quote Link to comment Share on other sites More sharing options...
Maxmyd Posted September 14, 2010 Author Report Share Posted September 14, 2010 Hello? Anybody here? 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.