Jump to content
Software FX Community

Exporting into Xml format


vijayg
 Share

Recommended Posts

HI

Iam using Chart FX 7  and iam exporting file content into XML format to use it as chart schemas

i used following lines of code....

chart1.FileContents = FileContents.Template;chart1.Export(FileFormat.Xml, strFile);

 It is exporting every thing... but it is saving series attributes colors and Text also. But i want to save only color not the Text of series attributes as the text should bind dynamically....

can any body help me......

 

Thanks 

Link to comment
Share on other sites

All series attributes are serialized when the series collection is serialized. There is no support for filtering out specific series attributes (such as text).

I see two options:

1) Remove series attributes right before saving (and restore them right after)

2) Store them right before reading and then set the old values back after.

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