FusionCharts Forum: XML Data Export being modified - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

XML Data Export being modified

#1 User is offline   gary.brain 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 18
  • Joined: 01-September 09

Posted 08 September 2009 - 06:59 PM

Hi, 1st of great product.... been adding the graphs and power graphs to my site to represent the data clearer.....

I have a small issue though.

Graph : DragNode
XML : being modified on export.
Javascript Function :

function updateXML()
 {
var chartToPrint = getChartFromId("networkmap");
document.uploadxml.strXML.value=chartToPrint.getXML();
return true;
 }

What I am doing is creating a network map based on the config from a device. This works well.

I have added a button on the page to get the XML from the chart and POST it to a page.

This then adds the XML output to a database record which is then read to rebuilt the graph. This way a user can add/delete to the diagram.

Now this all works.... the problem is the output is not including some of the code.

1) Set Change

Before : <set alpha='1' x='50' y='50' width='150' height='50' name='Proxy' color='FFFFFF' id='12344' imageNode='1' imageURL='/images/ProxySG.gif' imageAlign='MIDDLE' toolText='Proxy' />";

The exported line looks like this.

After : <set id='12344' x='50.5632183908046' y='50.7567567567568' name='12344' height='50' width='150' shape='RECTANGLE' imageNode='1' imageURL='/images/ProxySG.gif' imageHeight='-1' imageWidth='-1' imageAlign='MIDDLE' labelAlign='top' color='FFFFFF' />

What is missing is the alpha='1' which adds the background to the image.

1) Data Set

Before : <dataset plotBorderAlpha='0' allowDrag='1' showformbtn='0'>

After : <dataSet id='1' seriesName='' >

This results in the border around the image.

Also see graph Attached.

Is there a way to get around this (any additonal settings required) or code change by yourselfs.

Best Regards

Gary

Attached image(s)

  • Attached Image: monthly_09_2010/post-6171-128441575145.gif

0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic