Jump to content
Software FX Community

Problem import binary stream


Joe

Recommended Posts

Hi,

we are using chartFX component for a while, but without statistic components.

So there are several templates saved with following file mask:FileMask = FileMask.General | FileMask.Fonts | FileMask.Titles | FileMask.Multi | FileMask.Colors | FileMask.Tools;

Now we are using the statistic component and try to import the stream, but the component crashes with an index out of range exception

Code:

statistics1.Chart = chart1;

chart1.Import (FileFormat.Binary, FILENAME);

Exception:

System.IndexOutOfRangeException: Der Index war au

Link to comment
Share on other sites

I cannot replicate the issue. In a windows form application, after adding the chart and statistical extension to the chart, chart.Export and chart.Import work fine.

Please make sure you're using the latest service pack of Chartfx .NET 6.2:

http://support.softwarefx.com/ProductBase.aspx?Product=CfxNet62

Also, you can try doing a Chart.Export and then Chart.Import and check if that works.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...