User (Legacy) Posted December 14, 2006 Author Report Share Posted December 14, 2006 Hi, we are trying to use exported charts in the XML format as templates. Hereby we would need to get dataType settings done programmatically with the following snippet: chart.setDataType(0, DataType.XVALUE); chart.setDataType(1, DataType.VALUE); exported to the XML template. When the chart is exported with the command chart.exportChart(FileFormat.XML, XML_FILENAME); these settings are not reflected in the XML file. Hence a subsequent import of the XML file resets the chart to the default settings (all series are of type value). Is there a way to get the export right? We've been trying to use the FileMask() without success. Any help appreciated, Kurt Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 14, 2006 Report Share Posted December 14, 2006 Hi, we are trying to use exported charts in the XML format as templates. Hereby we would need to get dataType settings done programmatically with the following snippet: chart.setDataType(0, DataType.XVALUE); chart.setDataType(1, DataType.VALUE); exported to the XML template. When the chart is exported with the command chart.exportChart(FileFormat.XML, XML_FILENAME); these settings are not reflected in the XML file. Hence a subsequent import of the XML file resets the chart to the default settings (all series are of type value). Is there a way to get the export right? We've been trying to use the FileMask() without success. Any help appreciated, Kurt Link to comment Share on other sites More sharing options...
Software FX Posted December 14, 2006 Report Share Posted December 14, 2006 No, The XML includes only formatting attributes, it does not include anything related to the data of the chart. Regards, GA "DI Kurt Edegger" <news_tmp1@edegger.com> wrote in message news:4SGGAX2HHHA.476@webserver3.softwarefx.com... > Hi, > > we are trying to use exported charts in the XML format as templates. > Hereby we would need to get dataType settings done programmatically with > the following snippet: > > chart.setDataType(0, DataType.XVALUE); > chart.setDataType(1, DataType.VALUE); > > exported to the XML template. > > When the chart is exported with the command > chart.exportChart(FileFormat.XML, XML_FILENAME); > > these settings are not reflected in the XML file. > Hence a subsequent import of the XML file resets the chart to the default > settings (all series are of type value). > > Is there a way to get the export right? We've been trying to use the > FileMask() without success. > > Any help appreciated, > > Kurt Link to comment Share on other sites More sharing options...
Software FX Posted December 14, 2006 Report Share Posted December 14, 2006 No, The XML includes only formatting attributes, it does not include anything related to the data of the chart. Regards, GA "DI Kurt Edegger" <news_tmp1@edegger.com> wrote in message news:4SGGAX2HHHA.476@webserver3.softwarefx.com... > Hi, > > we are trying to use exported charts in the XML format as templates. > Hereby we would need to get dataType settings done programmatically with > the following snippet: > > chart.setDataType(0, DataType.XVALUE); > chart.setDataType(1, DataType.VALUE); > > exported to the XML template. > > When the chart is exported with the command > chart.exportChart(FileFormat.XML, XML_FILENAME); > > these settings are not reflected in the XML file. > Hence a subsequent import of the XML file resets the chart to the default > settings (all series are of type value). > > Is there a way to get the export right? We've been trying to use the > FileMask() without success. > > Any help appreciated, > > Kurt Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.