Jump to content
Software FX Community

Cannot restore saved Max & Min values for y-axis from XML file


MJ27
 Share

Recommended Posts

 Hi All,

I have changed the Scaling values (Step, Min, Max, Decimals) for y-axis on a chart and exported it to XML using the "export" method. I can see in the XML file, the correct value are getting saved.

I render the chart by importing from the XML file. The chart is rendered correct, now we click on Properties (in the toolbar) and bring up the properties dialog, navigate to the y-axis tab. The Minimum and Maximum value are set to 'Auto' and not the saved value, the Step and the Decimals reflect the saved values.

Is this a issue with ChartFX7 or am i missing something. Could any please shed some light on this issue.

Thanks & Regards,

Melvin

 

 

Link to comment
Share on other sites

How are you using the export and import method?

I created a simple application and used the following code for export and import respectively:

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

"C:\\XMLTest.xml");

Chart1.Import(ChartFX.WinForms.

FileFormat.Xml, "C:\\XMLTest.xml");

It works fine and the min and max values where restored.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...