joemamba4 Posted April 26, 2007 Report Share Posted April 26, 2007 Hi, I installed the evaluation version of ChartFX for Visual Studio 2005. I have been able to successfully import data via xml. What I am not able to do is import chart properties via xml. I used the example given in the help, but it doesn't appear to be working. Here is the xml I am using: <?xml version="1.0"?> <CHARTFX> <VOLUME>35</VOLUME> <TITLES> <TITLE><TEXT>My First Chart</TEXT></TITLE> </TITLES></CHARTFX> And the VB code I am using: Chart1.Import(ChartFX.WebForms.FileFormat.Xml, Server.MapPath("props.xml")) I have also verified that Server.MapPath("props.xml") is grabbing the file Also, is there a way to design a chart in Visual Studio and then export out to XML???? Link to comment Share on other sites More sharing options...
Frank Posted April 27, 2007 Report Share Posted April 27, 2007 I couldn't find this in the docs. But this is incorrect. Please let us know so that we can correct the docs. The correct XML is: <?xml version="1.0" encoding="UTF-8"?><CFX7> <TITLES> <ITEM> <TEXT>Title</TEXT> </ITEM> </TITLES></CFX7> In general, the best way to go about this is to do the modifications to a default chart and then export it to an XML. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.