Jump to content
Software FX Community

Exporting to XML Importing and Exporting Again


User (Legacy)

Recommended Posts

I am having an issue where I have a chart that I am exporting to an XML 

file. If I import the chart then export it again, it fails durring export.

The imported chart seems to run fine but there must be an issue either on my

side or the charts side making it throw this exception.

Command:

Chart1.Export(ChartFX.WinForms.FileFormat.Xml, chartpath)

exception:

System.InvalidCastException was unhandled

Message="Unable to cast object of type 'ChartFX.WinForms.AxisX' to type

'ChartFX.WinForms.AxisY'."

Source="ChartFX.WinForms"

Thanks Nathan

Link to comment
Share on other sites

I believe this is a bug we have already encountered and we have fixed 

internally. To be sure, however, please export the same chart to a Binary

File and attach it to your posting.

In the case that we are indeed talking about the same bug, a fix will be

included in the next SP due out next week.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Here is a Binary file.  Now when I do the export inport with the file type 

as binary I run into a different problem.

I am using realtime charts and when I start putting data into a chart that I

just imported I get an error. I don´t have this problem in the XML version.

Command:

Chart1.RealTime.EndAddData(True, False)

Exception:

System.NullReferenceException was unhandled

Message="Object reference not set to an instance of an object."

Source="ChartFX.WinForms"

StackTrace:

at ChartFX.WinForms.RealTimeSettings.EndAddData(Boolean scrollLabels,

Boolean scrollToEnd)

Let me know

Thanks

Nathan

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:XEE4gDJRGHA.3992@webserver3.softwarefx.com...

>I believe this is a bug we have already encountered and we have fixed

> internally. To be sure, however, please export the same chart to a Binary

> File and attach it to your posting.

>

> In the case that we are indeed talking about the same bug, a fix will be

> included in the next SP due out next week.

>

> --

> Francisco Padron

> www.chartfx.com

>

>

Link to comment
Share on other sites

  • 1 month later...

Archived

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

×
×
  • Create New...