kailashdhondiyal Posted September 17, 2008 Report Share Posted September 17, 2008 Dear All, I have an exported ChartFX 6.2 chart file in xml format (testing.xml). Now when i try to convert it into ChartFX 7 format with the help of ChartFX.WinForms.Exporter.exe, it throws error. At command prompt it shows like this: C:\Program Files\Chart FX for Visual Studio 2005\Util>ChartFX.WinForms.Exporter.exe c:\testing.xml c:\hello.xmlChart FX 6.2 to 7.0 File Converter (WinForms) 7.0.2540.35667Copyright Software FX 2005Error when exporting the chart.Error when exporting Chart FX 6.2 to Chart FX 7.0 When i open new file i.e. hello.xml, it shows only: XML document must have a top level element. Error processing resource 'file:///C:/hello.xml'. While the exported file i.e. testing.xml is well formed. Below are contents of testing.xml <?xml version="1.0" encoding="UTF-8" ?> - <CFX6> <WALLWIDTH>2</WALLWIDTH> <BACKCOLOR>LightSteelBlue</BACKCOLOR> - <AXIS>- <ITEM index="0">- <LABELSFORMAT> <DECIMALS>0</DECIMALS> </LABELSFORMAT>- <TITLE> <TEXT>BPM</TEXT> <AREA>Left</AREA> <LINEALIGNMENT>Near</LINEALIGNMENT> <FLAGS>DrawingArea, NoChangeDockArea</FLAGS> </TITLE> </ITEM>- <ITEM index="2">- <TITLE> <TEXT>Time (sec)</TEXT> <AREA>Bottom</AREA> <LINEALIGNMENT>Near</LINEALIGNMENT> <FLAGS>DrawingArea, NoChangeDockArea</FLAGS> </TITLE> </ITEM> </AXIS> <MARKERSIZE>4</MARKERSIZE> <GALLERY>Lines</GALLERY> - <TITLES>- <ITEM> <TEXT>Heart Rate</TEXT> </ITEM> </TITLES> <PALETTE>Vivid</PALETTE> - <LEGENDBOXOBJ> <WIDTH>0</WIDTH> <HEIGHT>0</HEIGHT> <VISIBLE>False</VISIBLE> <DOCKED>Bottom</DOCKED> <AUTOSIZE>False</AUTOSIZE> </LEGENDBOXOBJ> <BORDEROBJECT type="SoftwareFX.ChartFX.DefaultBorder" assembly="ChartFX.Base" /> </CFX6> Please suggest me how to resolve this problem ..... 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.