Sign in to follow this  
zhxcookie

XML get from Dragnode after submit

Recommended Posts

hi, I am using Dragnode in the power chart 3. My xml on the page is:

<chart caption="Retek Implementation Document Map" palette="2" xAxisMinValue="0" xAxisMaxValue="100" yAxisMinValue="0" yAxisMaxValue="100" is3D="1" showFormBtn="1" viewMode="1" allowDrag="0" enableLink="1" formBtnTitle="Save Changes" formAction="/PROJECT/diagram.php?xm=diagram" imageSave="0" imageSaveURL="/FusionCharts/ImageSaving/SaveCharts.php">

  <categories />

- <dataset seriesName="DS1" showPlotBorder="0" color="AFD8F8">

  <set value="" x="5" y="69" width="50" height="80" showBorder="0" alpha="0" name="BFQ" labelAlign="bottom" id="pc1" imageNode="1" imageurl="/image_uploads/doc_map/word_icon.gif" imageWidth="50" imageHeight="50" toolText="OLR Business Familiarisation Questionnaire Template" link="javascript:launch(%26apos;XXX%26apos;)" />

  <set value="" x="20" y="69" width="50" height="80" name="Risk Log" labelAlign="bottom" alpha="0" imageNode="1" imageurl="/image_uploads/doc_map/excel_icon.gif" imageWidth="50" imageHeight="50" id="pc2" />

  </dataset>

- <connectors color="FF0000">

  <connector from="pc1" to="pc2" strength="1" arrowAtStart="0" arrowAtEnd="0" />

  </connectors>

- <vTrendlines>

  <line startValue="0" endValue="10" color="CCCC00" alpha="5" displayValue="Planning" isTrendZone="1" />

  <line startValue="10" endValue="50" color="FF0000" alpha="5" displayValue="Analysis" isTrendZone="1" />

  <line startValue="50" endValue="80" color="00FF00" alpha="5" displayValue="Design" isTrendZone="1" />

  <line startValue="80" endValue="100" color="0000FF" alpha="5" displayValue="Build" isTrendZone="1" />

  </vTrendlines>

  </chart>

However, after I click 'Submit', the XML I got was :

<chart conStrength='1' arrowAtEnd='1' arrowAtStart='1' conDashed='0' conDashLen='5' conDashGap='5' conAlpha='100' conColor='FF0000' stdThickness='1' catVerticalLineDashGap='2' catVerticalLineDashLen='4' catVerticalLineDashed='0' catVerticalLineAlpha='45' catVerticalLineThickness='1' catVerticalLineColor='7B7D6D' catFontColor='60634E' catFontSize='10' catFont='Verdana' imageSaveDialogFontColor='666666' imageSaveDialogColor='E2E2E2' imageSaveURL='/FusionCharts/ImageSaving/SaveCharts.php' imageSave='0' yAxisValueDecimals='2' forceDecimals='0' decimals='2' inThousandSeparator='' inDecimalSeparator='' thousandSeparator=',' decimalSeparator='.' numberSuffix='' numberPrefix='' numberScaleValue='1000,1000' numberScaleUnit='K,M' defaultNumberScale='' formatNumberScale='1' formatNumber='1' negativeColor='ff0000' nodeScale='1' use3DLighting='1' plotBorderAlpha='95' plotBorderThickness='1' plotBorderColor='666666' showPlotBorder='1' plotFillAlpha='100' outCnvBaseFontColor='60634E' outCnvBaseFontSize='10' outCnvBaseFont='Verdana' baseFontColor='60634E' baseFontSize='10' baseFont='Verdana' toolTipSepChar=', ' toolTipBorderColor='545454' toolTipBgColor='FFFFFF' seriesNameInToolTip='1' showToolTip='1' alternateHGridAlpha='35' alternateHGridColor='D8DCC5' showAlternateHGridColor='1' zeroPlaneAlpha='45' zeroPlaneThickness='1' zeroPlaneColor='7B7D6D' showZeroPlane='1' divLineDashGap='2' divLineDashLen='4' divLineIsDashed='0' divLineAlpha='45' divLineThickness='1' divLineColor='7B7D6D' numDivLines='0' legendScrollBtnColor='545454' legendScrollBarColor='545454' legendScrollBgColor='CCCCCC' legendAllowDrag='0' legendShadow='1' legendBgAlpha='100' legendBgColor='ffffff' legendBorderAlpha='100' legendBorderThickness='1' legendBorderColor='545454' legendMarkerCircle='0' legendCaption='' legendPosition='BOTTOM' showLegend='0' canvasBorderAlpha='100' canvasBorderThickness='2' canvasBorderColor='545454' canvasBgAngle='0' canvasBgRatio='' canvasBgAlpha='100' canvasBgColor='FFFFFF' bgSWFAlpha='100' bgSWF='' borderAlpha='50' borderThickness='1' borderColor='545454' showBorder='1' bgAngle='270' bgRatio='0,100' bgAlpha='60,50' bgColor='CFD4BE,F3F5DD' btnTextColor='000000' btnPadding='5' formMethod='POST' formTarget='_self' formAction='/PROJECT/diagram.php?xm=diagram' formBtnBgColor='FFFFFF' formBtnBorderColor='CBCBCB' formBtnTitle='Save Changes' formBtnWidth='80' showFormBtn='1' enableLink='1' viewMode='1' clickURL='' yAxisNameWidth='undefined' rotateYAxisName='1' adjustDiv='1' yAxisValuesStep='1' showDivLineValues='0' showLimits='0' showYAxisValues='0' staggerLines='2' labelStep='1' slantLabels='0' rotateLabels='' labelDisplay='WRAP' showLabels='0' defaultAnimation='1' animation='1' xAxisMaxValue='100' xAxisMinValue='0' yAxisMaxValue='100' yAxisMinValue='0' setAdaptiveYMin='0' yAxisName='' xAxisName='' subCaption='' caption='Retek Implementation Document Map' chartBottomMargin='15' chartTopMargin='15' chartRightMargin='15' chartLeftMargin='15' legendPadding='6' labelPadding='3' yAxisValuesPadding='2' yAxisNamePadding='5' xAxisNamePadding='5' captionPadding='10' showFCMenuItem='1' palette='2' ><categories></categories><dataSet id='1' seriesName='DS1' ><set id='pc1' x='5' y='69' name='BFQ' height='80' width='50' shape='RECTANGLE' imageNode='1' imageURL='/image_uploads/doc_map/word_icon.gif' imageHeight='50' imageWidth='50' imageAlign='top' labelAlign='bottom' color='AFD8F8' /><set id='pc2' x='19.4845360824742' y='81.9106699751861' name='Risk Log' height='80' width='50' shape='RECTANGLE' imageNode='1' imageURL='/image_uploads/doc_map/excel_icon.gif' imageHeight='50' imageWidth='50' imageAlign='top' labelAlign='bottom' color='AFD8F8' /></dataSet><connectors stdThickness='1' ><connector from='pc1' to='pc2' color='FF0000' strength='1' alpha='100' label='' /></connectors></chart>

So by using this XML, the drawing looks different. Is there anyway to make two diagram look the same?

Edited by Guest

Share this post


Link to post
Share on other sites

In the send email screen I did not find the attachment link, so I upload my two xml here, the chart2.xml is the original one, chart.xml is the one I got from submit. the node color and connectors are different moreover it misses links on node and the vTrendlines

chart2.xml

chart.xml

Edited by Guest

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this