Jump to content
Software FX Community

Importing XML properties??


joemamba4
 Share

Recommended Posts

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

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

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...