dversch Posted March 10, 2009 Report Share Posted March 10, 2009 I'm trying to use the importChart method on the Chart object as follows: chart1.importChart("config.xml"); chart1.renderControl(); The chart always renders exactly the same, no matter what changes I make to config.xml. (Yes, it sees the file.) Any ideas anyone? Thanks. Quote Link to comment Share on other sites More sharing options...
rogelioB Posted March 11, 2009 Report Share Posted March 11, 2009 Hi, Here is a sample of xml template that should do the job, so please try it and let us know. <CFX7> <PANES> <ITEM index="0"> <AXES> <ITEM index="0"></ITEM> <ITEM index="1"></ITEM> </AXES> </ITEM> </PANES> <AXESX> <ITEM index="0"></ITEM> </AXESX> <ALLSERIES> <GALLERYARRAY type="ChartFX.WebForms.Internal.IGalleryType[]"> <ITEM index="0" type="ChartFX.WebForms.Galleries.Line"></ITEM> </GALLERYARRAY> </ALLSERIES> <SERIES> <ITEM index="0"></ITEM> <ITEM index="1"></ITEM> <ITEM index="2"></ITEM> </SERIES> <TITLES> <ITEM> <TEXT>Dave's Test XML Chart</TEXT> </ITEM> </TITLES> <LEGENDBOX> <DOCK>Left</DOCK> </LEGENDBOX> <DATAGRID> <VISIBLE>True</VISIBLE> </DATAGRID> <BORDER assembly="ChartFX.WebForms.Adornments, Version=7.0.1500.0, Culture=neutral, PublicKeyToken=a1878e2052c08dce" type="ChartFX.WebForms.Adornments.ImageBorder"></BORDER> <BACKGROUND assembly="ChartFX.WebForms.Adornments, Version=7.0.1500.0, Culture=neutral, PublicKeyToken=a1878e2052c08dce" type="ChartFX.WebForms.Adornments.GradientBackground"> <COLORS assembly="ChartFX.WebForms.Adornments, Version=7.0.1500.0, Culture=neutral, PublicKeyToken=a1878e2052c08dce" type="ChartFX.WebForms.Adornments.GradientBackground+ColorCollection"></COLORS> </BACKGROUND> <ID>4908</ID> <RENDERFORMAT>Image</RENDERFORMAT></CFX7> Regards, RB 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.