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.